Is there a script that formats a perl script?
I picked up a nice script that let's me check my pop mail from the browser for certain cases (like when I am on the go). I thought it would be a good idea. Anyways, the code looks real ugly. An entire subroutine if formatted GT style would be 30 some lines but they have it all on two or three lines.
Just wondering if there is a script that will reformat the script for me rather than going through it line by line. Not just by adding in newlines but also tabs and 2 newlines after completed else statements followed by more code.. Just the way most of us would probably want the code.
Is there? I'm probably going to start on one myself, but if there is one already done.. that'd be great too.
Thanks.
--
jsu
I picked up a nice script that let's me check my pop mail from the browser for certain cases (like when I am on the go). I thought it would be a good idea. Anyways, the code looks real ugly. An entire subroutine if formatted GT style would be 30 some lines but they have it all on two or three lines.
Just wondering if there is a script that will reformat the script for me rather than going through it line by line. Not just by adding in newlines but also tabs and 2 newlines after completed else statements followed by more code.. Just the way most of us would probably want the code.
Is there? I'm probably going to start on one myself, but if there is one already done.. that'd be great too.
Thanks.
--
jsu