No such thing as a small change | |
PerlMonks |
Re^2: Using an array in a hashby Anonymous Monk |
on Jan 22, 2005 at 19:47 UTC ( [id://424265]=note: print w/replies, xml ) | Need Help?? |
The person asked for how to get a array back OUT OF A HASH.
None of you have answered the question.
I would like to know how to do this as well.
Here what I tried and it failed.
my @host_type= qw { a b c d e} ;
my $j = "small" ;
my %vendor_size_hash = ($j => \@host_type ) ;
print "\@vendor_size_hash{$j} \n " ;
In Section
Seekers of Perl Wisdom
|
|