in reply to Re: when is "my" not necessary?
in thread when is "my" not necessary?
Just why are lexicals "the right thing?" Both clearly have their uses and their purposes (and scopes), but is it really that one is "the right thing?", or is it just the you have to use the appropriate method at the appropriate time?
The second question is, what is the advantage of using this form of hash:
vs. this form of hash:my $hash; $hash{foo} = bar;
my $hash = {}; $hash->{foo} = bar;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: when is "my" not necessary?
by revdiablo (Prior) on Nov 03, 2004 at 00:20 UTC | |
|
Re^3: when is "my" not necessary?
by runrig (Abbot) on Nov 03, 2004 at 01:04 UTC | |
|
Re^3: when is "my" not necessary?
by Anonymous Monk on Nov 03, 2004 at 00:01 UTC | |
|
Re^3: when is "my" not necessary?
by radiantmatrix (Parson) on Nov 03, 2004 at 19:45 UTC | |
by argv (Pilgrim) on Nov 06, 2004 at 06:22 UTC | |
by runrig (Abbot) on Nov 17, 2004 at 00:37 UTC | |
by demerphq (Chancellor) on Nov 17, 2004 at 21:54 UTC |