Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: match across specified # of lines

by Anonymous Monk
on Jun 13, 2013 at 14:38 UTC ( #1038754=note: print w/ replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038754]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-06-24 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (322 votes). Check out past polls.