N nweaver Diamond Member Jan 21, 2001 6,813 1 0 May 17, 2005 #1 How can I string perl scripts together, i.e. perl script one calls 1.pl, 2.pl and then finishes it's execution?
How can I string perl scripts together, i.e. perl script one calls 1.pl, 2.pl and then finishes it's execution?
L lansalot Senior member Jan 25, 2005 298 0 0 May 17, 2005 #2 Check the "system" function. There's probably a better way, perhaps using fork() or something, but perl isn't my specialist subject...
Check the "system" function. There's probably a better way, perhaps using fork() or something, but perl isn't my specialist subject...
xcript Diamond Member Apr 3, 2003 8,258 2 81 May 17, 2005 #3 You could use do (perldoc -f do). Eg: do '1.pl' or die $!;