This didn't work
Of course :) it doesn't read a file, or set the value of $_ in any way, so $_ is undef, and then there is nothing to match, so the matching doesn't work
You need to examine the value of $_, Data::Dump/er it , its Basic debugging checklist
In reply to Re: match across specified # of lines
by Anonymous Monk
in thread match across specified # of lines
by bill b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |