Help for this page

Select Code to Download


  1. or download this
    my $programtorun  =  'spawnee';
    my $parameters    =  'a b c flapjack sweets monkeybusiness';
    my @cmdline       =  ( $programtorun, $parameters );
    system ( @cmdline );
    
  2. or download this
    if ( @ARGV )
        {
    ...
            print "Parameter is $_\n";
            }
        }