Re: How to "source" another perl-file into one

2007-04-08 Thread Ken Foskey
On Sun, 2007-04-08 at 12:15 +0200, Raphael wrote: > 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", a

Re: How to "source" another perl-file into one

2007-04-08 Thread Jeff Pang
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 she

How to "source" another perl-file into one

2007-04-08 Thread Raphael
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