in reply to Re: Re: Guess A Number
in thread Guess A Number

Typical indenting styles indent a specified amount within every control structure. The specified amount is usually one of 2, 3, and 4 spaces. People also vary on the placement of braces.

Whatever you do, the key is to pick a style and then be consistent. Mixing and matching and random indentation makes your code much harder to work with.

If you are too lazy to pick a style, you can just download perltidy, run it on your scripts, and then accept the way that it does things.

Replies are listed 'Best First'.
Re: Re: Re: Re: Guess A Number
by sulfericacid (Deacon) on Mar 18, 2003 at 04:29 UTC
    Thanks for the info on PerlTidy :P It took a while to figure out how to install because I had to download nmake and all that but the program does do the trick!

    Thanks again! PerlTidy is definately what I was looking for!

    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid