Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by Athanasius (Canon)
on Oct 06, 2013 at 05:56 UTC ( #1057123=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $fh_iterator = sub
    {
    ...
    
        return $line;
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    {
        print $line;
    }
    
  3. or download this
    16:29 >perl 738_SoPW.pl test.file
    foo \
    ...
    single line
    
    16:29 >
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-10-01 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (8 votes). Check out past polls.