in reply to accessing data structure
This would have been useful in this case because you would have got the warning:
which would have given you a hint that you had messed up, writing @{results} instead of @{$results} (or just @$results).Global symbol "@results" requires explicit package name at - line 2.
strict and warnings are really useful and save a lot of time for you and for people answering questions, too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: accessing data structure
by CColin (Scribe) on Nov 16, 2007 at 14:34 UTC | |
by jbert (Priest) on Nov 16, 2007 at 14:44 UTC | |
by CColin (Scribe) on Nov 16, 2007 at 15:06 UTC |