http://qs321.pair.com?node_id=413585


in reply to Cleaning Whitespace from Source Code

perltidy -dws yourscript.pl
will create yourscript.pl.tdy with deleted whitespace.
you can try -mangle to delete newlines and make your script smaller
but it will make your script look absolutely awfull. ;)

See "perltidy -h" or "man perltidy" for more usefull options

kind regards

teabag
Thank god there's only one way to peel a banana - Teabag