Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: suggested module/tools to automatically "tighten" my perl

by mr.nick (Chaplain)
on Jun 22, 2012 at 20:02 UTC ( [id://977893] : note . print w/replies, xml ) Need Help??


in reply to suggested module/tools to automatically "tighten" my perl

I don't actually recommend this, but the following produces runnable, tight(er) code:
perl -MO=Deparse foo.pl| perl -nae 's/\n//g;s/\s+/ /g; print' > foo2. +pl
At least it did on my test script... YMMV. But seriously, I don't recommend this. I just did it for shytes and grins.

mr.nick ...