Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by Athanasius (Monsignor)
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: (7)
As of 2014-09-20 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls