Having spent hours trying to find a simple answer (learning lots along the way), I'm still hoping that there is a simple answer:
Can I run one Perl script from inside another?
I have a large set of scripts that I usually run one-at-a-time, but I want to create a controlling script so that I can run one or more of these scripts in sequence.
Sure, I do this to run all the various update scripts for my project when something major happens (like CVS checkout for example).
#!/usr/bin/perl
use warnings;
use strict;
use lib "$ENV{HOME}/perl";my $perl = '/usr/bin/perl';
system( $perl, "$ENV{HOME}/perl/clean-project.pl", 'DO' );
system( $perl, "$ENV{HOME}/perl/MakeInterarchyMake.pl" );
system( $perl, "$ENV{HOME}/perl/MakeInterarchyBridge.pl" );
system( $perl, "$ENV{HOME}/perl/check-msg.pl", 'REZ' );
system( $perl, "$ENV{HOME}/perl/MakeBundleInstall.pl" );
system( $perl, "$ENV{HOME}/perl/FileListType.pl" );Enjoy, Peter.
-- <http://www.interarchy.com/> <http://documentation.interarchy.com/>
