in reply to Reference Example
Only when I run this snippet, I get "Not an ARRAY reference at foo.cgi line 7"$fer is a HASH reference not an ARRAY reference. You want curly brackets '{' not square brackets.
Some more advice: learn how to use Data::Dumper. This will enable you to see inside references and deep structures. The first line you print out will not be very meaningful. Data::Dumper's Dumper function will be far more useful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Reference Example
by agentv (Friar) on May 20, 2002 at 22:43 UTC |