Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 examining the Monastery: (15)
As of 2015-07-29 13:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls