in reply to Re: Runtime Hash Variable access
in thread Runtime Hash Variable access

%ABCDev = qw /A 1 B 2 C 3/;

Technically, that *defines* (assigns to) %ABCDev, but it doesn't *declare* it. You declare a variable with my, our or use vars.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

Replies are listed 'Best First'.
Re: Re: Re: Runtime Hash Variable access
by Hena (Friar) on Mar 09, 2004 at 09:07 UTC
    You are right. Mainly ment that the wanted hash %ABCDev was empty due that assingment happened to scalar and not hash. And that using 'use strict' and 'use warnings' would have caught the mistake.

    I just don't always think that much about words than meaning (which in some cases can be somewhat obscure due to my lack of attention to words :D).