Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Succint Perl version of Awk

by Utilitarian (Vicar)
on May 30, 2023 at 11:27 UTC ( [id://11152512]=note: print w/replies, xml ) Need Help??


in reply to Succint Perl version of Awk

Just print the bits you want:
    perl -F -e 'print join(" ",@F[3..$#F])' sample.csv

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Log In?
Username:
Password:

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

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

    No recent polls found