in reply to Dereferencing code refs with & vs. ->()
but this doesn't:&{ Block returning a code reference }
{ Block returning a code reference }->();
That's why I also prefer:
over$$hash_ref{key} = $$array_ref[1];
-> is not a shortcut. It's a detour ;-)$hash_ref->{key} = $array_ref->[1];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dereferencing code refs with & vs. ->()
by demerphq (Chancellor) on Sep 23, 2005 at 13:11 UTC | |
|
Re^2: Dereferencing code refs with & vs. ->()
by dragonchild (Archbishop) on Sep 23, 2005 at 13:17 UTC | |
by Anonymous Monk on Sep 23, 2005 at 14:34 UTC | |
|
Re^2: Dereferencing code refs with & vs. ->()
by ambrus (Abbot) on Sep 24, 2005 at 17:53 UTC |