Hello,

In Perl you may try this:

BEGIN {
   do "other.pl";
}

2007/4/8, Raphael <[EMAIL PROTECTED]>:
Hi Users,

I want to "source" another file (also a perl-script) into my one at the
beginning. There are definitions which are to be loaded before executing
the rest of the other script. In a shell-script, I can do it with ".
filename", and in perl?

Thanks for any ideas and help.

Greetings Raphael

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/





--
mailto: [EMAIL PROTECTED]
http://home.arcor.de/jeffpang/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to