Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse -pe 's/^(?:L\d+|DETAIL|SPACE|SUMMARY),//'
    LINE: while (defined($_ = <ARGV>)) {
    ...
    continue {
        die "-p destination: $!\n" unless print $_;
    }
    
  2. or download this
    while (<>) {
        s/^(?:L\d+|DETAIL|SPACE|SUMMARY),//;
        print;
    }
    
  3. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    }
    close $ofh;
    close $ifh;