in reply to If it looks like a scalar, and quacks like an array, it's still a scalar.

the very FETCH() method believes its being invoked in scalar context, even if we're trying to assign to an array.
Good. I mean: any other behaviour by Perl, in such cercumstances, would have to be considered a bug. Now, you've verified that there is no such bug.

p.s. Even if you've convinced yourself that there's no point in such experiments, I think there is: you're exploring the very corners of Perl.

  • Comment on Re: If it looks like a scalar, and quacks like an array, it's still a scalar.