Welcome to the Monastery | |
PerlMonks |
Re^3: Scripting Helpby mr_ron (Chaplain) |
on Dec 14, 2015 at 20:40 UTC ( [id://1150274]=note: print w/replies, xml ) | Need Help?? |
In two places you repeat the code:
The sub get_input() returns a string which, as the error messages are telling you, you are trying to use as hash reference with exists. On the left side of the -> arrow $group_name is a hash reference and on the right side of the arrow it is a string and key to the hash. It looks like in read_doc you need to create a hash of groups and return a reference to it.
Ron
In Section
Seekers of Perl Wisdom
|
|