The first thing you should do is show what print Dumper $cfg; says inside your list_hosts function.
If in doubt, print it out!
In reply to Re: Help with cause of "Modification of a read-only value attempted at ..."
by Anonymous Monk
in thread Help with cause of "Modification of a read-only value attempted at ..."
by shriken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |