Stanisław T. Findeisen wrote:
use constant { SOME_CONSTANT => 'some value' };
$hash{SOME_CONSTANT} = 'value 1';
Not weird at all, just works as documented. So change to either: $hash{ +SOME_CONSTANT } = 'value 1'; or: $hash{ SOME_CONSTANT() } = 'value 1'; -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/