Re: Import other perl files
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Feb 2006 22:09:39 GMT
"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
.
- Follow-Ups:
- Re: Import other perl files
- From: Keith Keller
- Re: Import other perl files
- References:
- Import other perl files
- From: Robin Wilson
- Import other perl files
- Prev by Date: Re: Convert a string into array of characters
- Next by Date: Re: A Problem With GD
- Previous by thread: Import other perl files
- Next by thread: Re: Import other perl files
- Index(es):