Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Succint Perl version of Awkby Utilitarian (Vicar) |
on May 30, 2023 at 11:27 UTC ( [id://11152512]=note: print w/replies, xml ) | Need Help?? |
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."
In Section
Seekers of Perl Wisdom
|
|