Help for this page

Select Code to Download


  1. or download this
     for $file (@files){
         $string = "open (A$file, \"perl part2.pl $file|\")";
         eval $string; # Error checking omitted for simplicity
     }
    
  2. or download this
      use Symbol qw( gensym );
      for $file (@files){
          open( my $fh= gensym(), "perl part2.pl $file |" );
          # Error checking omitted for simplicity
      }
    
  3. or download this
      for $file (@files){
          system( 1, "perl part2.pl $file" );
          # Error checking omitted for simplicity
      }