Re: Import other perl files



"Robin Wilson" <robin.wilson@xxxxxxxxxxxxxxxxxxx> wrote in
news:lJKMf.5852$Ru5.4826@xxxxxxxxxxxxxxxxxxxx:

I have a perl file which I would like to divide up into 2 perl files
so that the content is seperate

I created 2 files and then moves some variables into the other file
but I cannot work out how to include the second file

I thought the syntax was:

USE FILE.PL

use not USE. Case matters.

perldoc use

but that's not working

Please can someone tell me the correct syntax

Reading the docs will tell you that.

You should also read:

perldoc perlmod

Sinan

--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html

.