in reply to Re^3: How do I pretend a reference isn't a reference
in thread How do I pretend a reference isn't a reference
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 Section
Seekers of Perl Wisdom