Hi,

I'm trying to delete a complete subkey. While the Win32::TieRegistry
documentation says first 

"You can use the Perl delete function to delete a value from a Registry key
or to delete a subkey as long that subkey contains no subkeys of its own.
See More Examples, below, for more information."

later on under "More Examples" there's a example that deletes all keys under
"tips". So I'm confused, and this:

# delete oracle subkey including all subkeys
use Win32::TieRegistry( Delimiter=>"/");
if ($OraKey= $Registry->{"LMachine/SOFTWARE/ORACLE/"}) {
        print "Oracle found\n";
        $delora= delete $Registry->{"LMachine/SOFTWARE/ORACLE/"};
        exit 0;
}
        else {exit 1};

doesn't work for me...


regards, Lars
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to