in reply to Re^3: Local for lexicals
in thread Local for lexicals

because $_[0] is an alias and $x is only a copy, he wants $x to be an alias of the first arg!

see explanation of second code example in Re^3: Local for lexicals

JadeNB should really post better test cases to avoid confusion!

Cheers Rolf