Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by Athanasius (Archbishop)
on Oct 06, 2013 at 05:56 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1057123]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-18 17:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found