in reply to match across specified # of lines

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

Replies are listed 'Best First'.
Re^2: match across specified # of lines
by bill b (Initiate) on Jun 13, 2013 at 14:49 UTC
    Thanks for the pointer!