Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^8: raw data formatting

by teamassociated (Acolyte)
on Nov 16, 2012 at 15:07 UTC ( #1004214=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print for map { s/\s+/$letter++ . ' '/er} @lines;
    print for map { s/\s+/$letter++ . ' '/e; "$_\n" } @lines;
    
  2. or download this
     my $it = natatime 5, <DATA>;
    with
    my $it = natatime 5, grep /\A\s{4}\d/, <DATA>;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-11-26 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (165 votes), past polls