Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Cleaning Whitespace from Source Code

by teabag (Pilgrim)
on Dec 09, 2004 at 15:30 UTC ( #413585=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://413585]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2020-11-24 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?