saberworks has asked for the wisdom of the Perl Monks concerning the following question:
So the "rule" appears to be: "If it's a built-in, don't add spaces, except if there's only one argument, then do add spaces. If it's user-defined, don't add spaces, even if there is only one argument." Except, then I found one on page 29 that was even worse: add_step( \@steps, $next_step, $elapsed_time);chomp( $record ); my ($name, $votes) = split("\t", $record); substr($name, 0, 10);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: PBP: Code Layout
by BrowserUk (Patriarch) on Oct 19, 2005 at 22:39 UTC | |
Re: PBP: Code Layout
by Skeeve (Parson) on Oct 19, 2005 at 22:03 UTC | |
by saberworks (Curate) on Oct 19, 2005 at 22:14 UTC | |
by Skeeve (Parson) on Oct 19, 2005 at 22:43 UTC | |
by chromatic (Archbishop) on Oct 20, 2005 at 02:51 UTC | |
by adrianh (Chancellor) on Oct 20, 2005 at 08:38 UTC | |
by Skeeve (Parson) on Oct 20, 2005 at 05:56 UTC | |
| |
by BrowserUk (Patriarch) on Oct 20, 2005 at 06:09 UTC | |
| |
by herveus (Prior) on Oct 20, 2005 at 12:12 UTC |