in reply to Re: Getting the Value of a single hash key
in thread Getting the Value of a single hash key
my $path; my %hash = (); #created items/objects my $line; while ($line = <CREATEFILE>) { chomp($line); ($src, $key) = split (/=/, $line); push( @{$hash{$key}}, $src); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Getting the Value of a single hash key
by dogz (Initiate) on May 06, 2003 at 20:19 UTC |