good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: a one-liner for this trivial problem?by NetWallah (Canon) |
on Apr 16, 2013 at 23:35 UTC ( [id://1029027]=note: print w/replies, xml ) | Need Help?? |
How about this:
This takes advantage of the fact that $ARGV contains the file name. Use single-quotes if you run in *nix.
"I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
In Section
Seekers of Perl Wisdom
|
|