Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <434B1EBA.8070908@cwilson.fastmail.fm> Date: Mon, 10 Oct 2005 22:08:58 -0400 From: Charles Wilson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: [Fwd: update for Win32::TieRegistry under Cygwin and Windows2000] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/