I smell the old FUD about autovivification of hash keys. You can just check whether $Registry->{...} returns a true value. That won't create anything. It only creates something if you assign to it (and hash keys don't get autovivified unless you use them in a lvalue context).
- tye
In reply to Re: In Win32::TieRegistry, what is the best way to tell if a registry variable exists? (vivify)
by tye
in thread In Win32::TieRegistry, what is the best way to tell if a registry variable exists?
by DrWhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |