in reply to Is this a bug, or expected behavior?
gives a reference to an array with one element, undef.my $b = [ $a->[1,2,3,4] ];
I'm guessing these are both edge cases in the dereference mechanism (->). Someone with more expertise than myself will have to look at the optree for these.
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Is this a bug, or expected behavior?
by merlyn (Sage) on Mar 17, 2006 at 16:21 UTC | |
by QM (Parson) on Mar 19, 2006 at 17:25 UTC |