Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Ref to a list not being equivalent to a list of refs to each elementby broquaint (Abbot) |
on Jun 23, 2006 at 17:26 UTC ( [id://557269]=note: print w/replies, xml ) | Need Help?? |
This occurs for the same reasons given above as
creates a references to a constant value whereas is creating a reference to a temporary value. If you want to see the evidence then just put Devel::Peek to work (take note of the FLAGS values for the reference):
HTH
_________
In Section
Seekers of Perl Wisdom
|
|