$ABCDev=qw/A 1 B 2 C 3/;
Print $ABCDev to see what happened. It was assigned only the 3. The qw operator evaluates to its last element when used in scalar context. You need to learn what a hash is before you can use one. Hashes are a very basic part of Perl and any tutorial or learning book covers them. I think you should read Beginning Perl or something like that. Or at least perlintro.
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In reply to Re: Runtime Hash Variable access
by Juerd
in thread Runtime Hash Variable access
by spaceforsrini
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |