Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Iterator to parse multiline string with \\n terminator

by jwkrahn (Monsignor)
on Oct 06, 2013 at 21:41 UTC ( #1057196=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Iterator to parse multiline string with \\n terminator
in thread Iterator to parse multiline string with \\n terminator

next goes back to:

while ( <$fh> ) {

And therefore reads the next line into $_ while redo goes back to the line after that leaving $_ unchanged.


Comment on Re^3: Iterator to parse multiline string with \\n terminator
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2015-07-02 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (29 votes), past polls