This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[Fwd: update for Win32::TieRegistry under Cygwin and Windows2000]
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Mon, 10 Oct 2005 22:08:58 -0400
- Subject: [Fwd: update for Win32::TieRegistry under Cygwin and Windows2000]
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/