in reply to Re: Building Hashrefs
in thread Building Hashrefs
You have omitted the sigil on your declaration, and misspelled the variable while dereferencing it for some reason.
my $hash_ref = {}; $hash_ref->{foo} = "bar";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Building Hashrefs
by deibyz (Hermit) on Jul 23, 2004 at 15:06 UTC |