in reply to Win32::TieRegistry: Setting Access Permissions for Tied Hash API

$reg= $reg->Open( "", { Access => "KEY_READ" } );

Yes, that should be easier and more obvious (one long-standing improvement I've wanted to make). But a second long-standing improvement is even better; to change the default access to "max allowed" which pretty much removes the need to specify desired access levels.

- tye        

  • Comment on Re: Win32::TieRegistry: Setting Access Permissions for Tied Hash API
  • Download Code

Replies are listed 'Best First'.
Re^2: Win32::TieRegistry: Setting Access Permissions for Tied Hash API
by almut (Canon) on Jan 30, 2007 at 14:08 UTC

    Thanks tye, you're my saviour! :)

    I think adding a related note to the docs is all that's required. Also, I agree that - in the long run - "max allowed" would be the most suitable default.