Re: export variables



On Dec 30, 2007 7:29 PM, jwaixs <jwaixs@xxxxxxxxx> wrote:


I just want to split up a big file into smaller parts. But I don't
know which functioncall I should use for it. Peng is using "require",
is this the standard way for importing a file?


Generally we use 'require' to read a config file.But this is not
absolute.You can use 'require','use' or 'do' for this destination.

from perldoc -q "What's the difference between require and use":

Perl offers several different ways to include code from one
file into another. Here are the deltas between the various
inclusion constructs:

....
.