use Win32::TieRegistry( TiedRef => \my $Reg, Delimiter => '/', ); if( ! $Reg->('CUser/xxx/yyy/zzz//value'} ) { $Reg->{'CUser/xxx/'}= { yyy => { zzz => { '/value' => 'data' } } }; }
Or roughly so. Read near similar examples in the documentation for more information.
- tye
In reply to Re: Tie::Registry add/check values (ex)
by tye
in thread Tie::Registry add/check values
by warrendodge
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |