in reply to Re: Adding Registry Keys & Values
in thread Adding Registry Keys & Values

And now for something completely the same using a different module. (Win32::Registry > 0.07 or Win32::Registry <= 0.07 plus the patch)

use Win32::Registry; $HKCU->SetValues( "foo", REG_SZ, "bar"); $HKCU->Open("AppEvents")->SetValues( "foo", REG_SZ, "something"); #or #Win32::Registry::SetValues( 'HKEY_CURRENT_USER\AppEvents', # "foo", REG_SZ, "something"); $HKCU->Create("foo");

Jenda
We'd like to help you learn to help yourself
Look around you, all you see are sympathetic eyes
Stroll around the grounds until you feel at home
   -- P. Simon in Mrs. Robinson

Replies are listed 'Best First'.
Re^3: Adding Registry Keys & Values
by Anonymous Monk on Nov 11, 2004 at 11:23 UTC
    Thanks very much Jenda, But I had a bit of a slap rist here once for using Win32::Registry for being obselete.

    Thanks indeed.