Save a Perl oneliner to a script perl…

Save a Perl oneliner to a script.

perl -MO=Deparse -pe 's/(\d+)/localtime($1)/e'

http://stackoverflow.com/questions/2822525/how-can-i-convert-perl-one-liners-into-complete-scripts

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *