3 ms·
The article references some great modules for those actually writing perl code. For those that never learn to write full apps in perl, there are still a few ge
by alexwestholm 16y ago
The article references some great modules for those actually writing perl code.
For those that never learn to write full apps in perl, there are still a few gem 1-liners that are worth tucking away. For instance,
perl -pi.bak -e 's/something/something_else/g' *.erl
would act as a global substitution with backups (any file changed would have an original x.erl.bak).
A list of some other useful 1-liners can be found here:
http://blog.ksplice.com/2010/05/top-10-perl-one-liner-tricks/ http://blog.ksplice.com/2010/05/top-10-perl-one-liner-tricks...