delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/10/22:09:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cygwin AT cwilson DOT fastmail DOT fm>
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]

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019