in reply to Ref to a list not being equivalent to a list of refs to each element
I believe you're seeing this behavior because
creates a reference to a temporary value whereas\("foo");
creates a reference to a constant value. I don't know if that is explicitly documented anywhere, but there you have it.\"foo";
HTH
_________
broquaint
In Section
Seekers of Perl Wisdom