in reply to Re^4: Dynamic variables
in thread Dynamic variables
You also pick as examples of dereferencing notations that can tend to look complex to an inexperienced programmer whether they are references or not. All of the examples you cite for complexity can be rewritten using less confusing notations.
I'm not sure why you don't show that the curly braces can be left out during dereferencing.for (0 .. $#{$aref}) {} # or for (@$aref) {} @{$aref2} = ...; #or @$aref2 = ...;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Dynamic variables
by revdiablo (Prior) on Jul 23, 2004 at 20:49 UTC |