On Thu, 3 Mar 2005, Nishi Prafull wrote: > I would like to call a perl script(B.pl) within another perl script > (A.pl). Should I use the following approach or something else? > > A.pl > ----- > my $cmd = "perl B.pl" > system($cmd); > > Please let me know.
Is there a reason that A.pl can't just say require "B.pl"; ? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>