Next Regular Expression Mastery 62

Minor Disaster

grep

        my $pat = shift;
        while (<>) {
          print if /$pat/;
        }
        my $pat = shift;
        while (<>) {
          print if /$pat/o;
        }


Next Copyright © 2002 M. J. Dominus