in reply to Re: calling perl subroutines in other files
in thread calling perl subroutines in other files

eval `cat subroute_file.pl`;
Why would you do that when the built-in function of do is defined as that, only better?

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^3: calling perl subroutines in other files
by tachyon (Chancellor) on Sep 26, 2004 at 11:51 UTC

    ....and evaluate why would you do that when you should be required to use the lovely module architecture ;-)

    As merlyn notes do is better than eval cat which is not portable.

    cheers

    tachyon