Help for this page

Select Code to Download


  1. or download this
     open(IN, '<', $source) or die "Couldn't open $source: $!\n";
    
  2. or download this
    my @data = map [ split ], grep /\S/, <>;  ### <> reads from stdin (or 
    +a file named on the command line) You would need <IN> instead.
    
  3. or download this
     my @data = map [ split ], grep /\S/, <>;