http://qs321.pair.com?node_id=779049


in reply to Re^3: Mini-Tutorial: Working with Odd/Even Elements
in thread Mini-Tutorial: Working with Odd/Even Elements

The interesting thing to note is that I seem to get a magical localization of my variables.
that's the output I get
[A b] [C d] AC Now A b C d C d
"orig" and "value" are lost, so no "magical localization". but adding local
    local @{$pkg}{qw(a b)} = \(@_[0,1]);
produces
[A b] [C d] AC Now A b C d orig value

Cheers Rolf

UPDATE:This was perl, v5.10.0 built for i486-linux-gnu-thread-multi

Replies are listed 'Best First'.
Re^5: Mini-Tutorial: Working with Odd/Even Elements
by Roy Johnson (Monsignor) on Jul 10, 2009 at 23:37 UTC
    That's what I would have expected. Thanks for the data point. I was wondering whether there was some obscure documented reason it should behave as I was seeing.

    Caution: Contents may have been coded under pressure.