B.pl would have to contain valid perl code, and then in your A.pl you could...
...this will make all your variables in B.pl available in A.pl.eval { require "B.pl"; } if ($@) { # deal with error } ...
Cheers!
--
hiseldl
What time is it? It's Camel Time!
In reply to Re: including another perl file
by hiseldl
in thread including another perl file
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |