A better way to do that initialization is:
(I use ||= in case you want a given section to be able to be declared, redeclared, and added to.)$smbconf{$share} ||= {};
In reply to Re (tilly) 1: hash reference
by tilly
in thread hash reference
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |