Help for this page

Select Code to Download


  1. or download this
    use strict;
    my $num = shift;
    ...
            print "$num finished calling exec.\n";
        }
    }
    
  2. or download this
    $ perl test.pl 5
    5 is calling system...
    ...
    1 finished calling system.
    3 finished calling system.
    5 finished calling system.
    
  3. or download this
    D:\PerlCode>perl test.pl 5
    5 is calling system...
    ...
    3 is finished calling system.
    1 is calling system...
    1 is finished calling system.