- or download this
perl -ne 'print if /Pattern1/ .. /Pattern2/' file1
- or download this
#!/usr/bin/perl
use strict;
...
if (/Pattern1 .. /Pattern2/)
{printf $log;}
}
- or download this
"Use of uninitialized value in pattern match (m//) at temp.pl line 11.
+"