in reply to noob with hash/data file question
%stuff = ( '$short' => '$place', );
You're constructing a new hash (with the strings $short and $place, not with the values of these variables) and override the existing hash with it.
Instead you have to populate the hash like this: $stuff{$short} = $place
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: noob with hash/data file question
by bhall (Initiate) on Sep 02, 2008 at 08:43 UTC |