If you change the map so:That problem goes away also. (I made a similar error myself earlier:)my @months = map{tie my $var, i18n::String2, $_; $var } qw(Januar +y February);
Actually, it doesn't :) What is stored in @months is not tie'd anonymous variables, but the result of FETCH'ing $var. In other words, it does the translation at compile time, rather than at runtime.
Clint
In reply to Re^4: How do I pretend a reference isn't a reference
by clinton
in thread How do I pretend a reference isn't a reference
by clinton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |