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

Re: Awk usage in perl

by helgi (Hermit)
on Aug 26, 2008 at 15:25 UTC ( #706923=note: print w/ replies, xml ) Need Help??


in reply to Awk usage in perl

use warnings; use strict; while (<DATA>) { chomp; my ($one,$two,$three,$four,$five) = split; print "$five\n"; } __END__ 1 222 ssss 1111 fgfg 2 333 ssse 2222 dshg 3 444 ssws 3333 sjsh 4 555 wwsw 4444 skss

--
Regards,
Helgi Briem
hbriem AT f-prot DOT com


Comment on Re: Awk usage in perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-04-20 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls