Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How can I make it to a one liner

by Punitha (Priest)
on Oct 08, 2007 at 07:15 UTC ( #643406=note: print w/replies, xml ) Need Help??


in reply to How can I make it to a one liner

Hi greatshots,

This may be useful for you

while (my $line = <DATA>){ my $i=0; chomp($line); my @array = split(',',$line); while($i<=$#array){ print "$array[$i+2]\n"; $i++; } }

Punitha

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://643406]
help
Chatterbox?
usemodperl can see the monastery has become a rehab for children of the serpent :-)
usemodperl can't figure out how to get metacpan.org to comply with HTTP standards :-( HTTPS only!? Breaks older HTTP::Tiny...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-06-24 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?