[ABE.pm] Running perl inside of perl

Ricardo SIGNES rjbs-perl-abe at lists.manxome.org
Wed Feb 23 07:28:44 PST 2005


* Faber Fedor <faber at linuxnj.com> [2005-02-23T10:21:21]
> How can I run these Perl scripts from inside of another Perl script?  I
> could use system(), but that's not much better (better but not much) than 
> a shell script, IMO. I deally, I'd like to run them kinda like
> functions, but they're not functions and I'm not going to rewrite them
> at this stage.
> 
> Is there a way to do this other than shelling out?

I'm not sure what your requirements are, but have you looked at C< do >?

perldoc -f do

-- 
rjbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/abe-pm/attachments/20050223/f14f989e/attachment.bin


More information about the ABE-pm mailing list