Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by Athanasius (Abbot)
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 having an uproarious good time at the Monastery: (9)
As of 2015-07-29 02:24 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 (260 votes), past polls