in reply to Re: local element of my() array????
in thread local element of my() array????
For example, I can't say
my @x; local @x;because local requires a package variable such as @::x to localize, and my @x isn't in any package, because it's lexical. But I *can* say
my @x; local $x[0];What's going on there? I just need an explanation of the magic that's handling that, because otherwise I have no clue what's happening, and the world becomes a dark and mysterious place. :)
|
|---|