in reply to running a Perl script from a Perl script

OK .. I did RTFM in the end.. and after due deliberation came up with:

my $programtorun = 'spawnee'; my $parameters = 'a b c flapjack sweets monkeybusiness'; my @cmdline = ( $programtorun, $parameters ); system ( @cmdline );

.. which runs spawnee

if ( @ARGV ) { foreach ( split(' ', $ARGV[0] ) ) { print "Parameter is $_\n"; } }

Do i get my 1 point back now. please .. sir ?

Mildew Hall.. Home of PurePostPro and other Perl goodies!
Not only oysters create Pe[a]rls