Hi,

I prefer using the other form of if/unless etc when
possible.  And I run under 'use strict;', hence I properly
localise my variables.

I.e.

if ($action eq "Submit") {
    my ($value, $value) = (1, 2);
    $testus = 6 if ($testus eq "2");
}

> but I think what you wrote can be considered following
> some kind of code standard pretty widely adepted.

It can be easy to get into code styling wars... my advice
is to pick one and stick with it.

Have a look at:

perldoc perlstyle

and:

The jargon file entry under "indent style", which you can
find at:

http://suse.eyjar.is/download/mirrors/jargon-4.2.0/jargon.html

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to