gitarwmn has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to delete a value and not a key from a specified key in the registry. Does anyone know how I might do this?

20031118 Edit by BazB: Changed title from 'win32::registry'

Replies are listed 'Best First'.
Re: Deleting a value with Win32::Registry
by AcidHawk (Vicar) on Nov 18, 2003 at 21:20 UTC

    Similar to the way you would delete a key only like so

    $reg_obj->DeleteValue($value_name);

    -----
    Of all the things I've lost in my life, its my mind I miss the most.
Re: Deleting a value with Win32::Registry
by Ninthwave (Chaplain) on Nov 18, 2003 at 20:44 UTC

    Short answer:
    Tie::Registry
    Or:
    Tie::Registry ExamplesThis one has a good explanation and examples of deleting keys or key values and how to implement an undelete.

    "No matter where you go, there you are." BB
Re: Deleting a value with Win32::Registry
by krujos (Curate) on Nov 18, 2003 at 20:26 UTC
    Give this a try over at cpan. This gives a little more detial. Good Luck
Re: Deleting a value with Win32::Registry
by gitarwmn (Beadle) on Nov 18, 2003 at 21:35 UTC
    Thanks everyone!