Harlan Carvey wrote:

> $Bill,
> 
> Thanks...but that doesn't get me any closer to
> figuring out what the issue is...any thoughts along
> those lines?

All I can tell you is that it worked OK for me.  XP Pro - Perl 811.
If all else fails, consider a reboot and then maybe a re-install of
Perl if that fails.

>>Harlan Carvey wrote:
>>
>>
>>>I'm using Win32::TieRegistry.  Whenever I try to
>>>access the following key:
>>>
>>>HKLM\System\CurrentControlSet\Enum
>>>
>>>I get the following error message:
>>>"The system could not find the environment option
>>
>>that
>>
>>>was entered"
>>>
>>>Permissions say I should be able to read the key.
>>>
>>>Input appreciated.  Code below.
>>
>>You should always suppy *complete* code snippets.
>>
>>
>>>Code:
>>>my $remote;
>>># Registry key to check
>>>eval {
>>>     $remote =
>>>$Registry->{"LMachine/System/CurrentControlSet/"}
>>>             or die "Can't open Registry key: $^E\n";
>>>};
>>
>>use strict;
>>use Win32::TieRegistry (Delimiter => '/');
>>
>>my $remote;
>>eval {
>>      $remote =
>>$Registry->{"LMachine/System/CurrentControlSet/"}
>>              or die "Can't open Registry key: $^E\n";
>>};
>>
>>__END__


-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Win32-Admin mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to