in reply to Re: passing multi dimensional hashes into a sub
in thread passing multi dimensional hashes into a sub
the reason I asked previously about hash format was to try to understand when %hash should be used rather than %hash_ref ($hash_ref->{$key})
when wrongly used, I get an error that reads Global explicit package... and need to declare it...I seem to get a lot so i need to understand where to use one or the other
ergo, the reason why I asked for you to explain how you go about deciding which to use %hash vs %hash_ref...hoping to get some insight into this!
yes, I've read up on this subject and still confused
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: passing multi dimensional hashes into a sub (when to use a hash or vs hashref )
by Anonymous Monk on Sep 18, 2015 at 00:17 UTC |