[Fwd: update for Win32::TieRegistry under Cygwin and Windows2000]

Charles Wilson cygwin@cwilson.fastmail.fm
Tue Oct 11 02:09:00 GMT 2005


The following message was sent to every contributor listed in the 
Perl/Cygwin documentation -- but not to the cygwin mailing list. 
Rectifying that....


-------- Original Message --------

Please add to your perldoc section for PERL/cygwin

Under cygwin and windows2000, the foreach does NOT provide subkeys.
It works only under CMD.exe command shell, not under cygwin's shells.


#code NOT working as in perldoc's example for WIN32::TieRegistry

   $subKeyTip = $Registry->{"HKEY_LOCAL_MACHINE/SOFTWARE/MailCode/Config
Tools/DispCfg/"} or die "Laughing that nothing works! \n" ;
   #$subKeyTip = $Registry->{"HKEY_LOCAL_MACHINE/SOFTWARE/MailCode/Config
Tools/DispCfg/Display Field Mappings//"} or die "Laughing that nothing
works! \n" ;
   #$subKeyTip = $Registry->{"HKEY_LOCAL_MACHINE/SOFTWARE/MailCode/Config
Tools/DispCfg/Display Field Mappings/BogusNoKeyDefined"} or die
"Laughing that nothing works!" . $! ;
   foreach( keys %$subKeyTip ) {
  print "$_: " , $subKeyTip->{$_} ,  "\n";
   }

Sincerely,


Luan Vu (Michael)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list