The stupid question is the question not asked | |
PerlMonks |
Re: hash referenceby snowcrash (Friar) |
on Feb 06, 2002 at 08:35 UTC ( [id://143577]=note: print w/replies, xml ) | Need Help?? |
in addition to what Zaxo replied:
$smbconf{$share} seems to expect a reference to a hash, like your node's title states. you set it to a scalar, i.e. "", which seems to mess up somewhere else later. i guess it would work if you assign an empty hashref, $smbconf{$share} = {} (or some hashref containing default values?). hth, snowcrash
In Section
Seekers of Perl Wisdom
|
|