[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [PATCH lib/lib.pm 5.005_63] Removing use of vars.pm
I see you usually did
our($FOO, $BAR, $BAZ);
$FOO = "foo";
$BAR = "bar";
$BAZ = "baz";
and sometimes you did
our $FOO = "foo";
our $BAR = "bar";
our $BAZ = "baz";
I think I have a slight preference for the latter because it encourages
people to initialize. I presume your usual preference for the former
can be explained by ease of editing (and possible unediting :-).
I almost never use C<my> with a list either. It's possible I'm ashamed
of the parentheses despite their pragmatic necessity.
Larry
- Follow-Ups from:
-
Gurusamy Sarathy <gsar@ActiveState.com>
Martyn Pearce <martyn@inpharmatica.co.uk>
- References to:
-
Gurusamy Sarathy <gsar@ActiveState.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]