delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/21/17:12:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-AuthUser: gerrit:koeln.convey.de
Date: Mon, 21 Jul 2003 23:16:18 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <112296573760.20030721231618@familiehaase.de>
To: "George Njoku" <gnjoku AT pegasus DOT rutgers DOT edu>
CC: cygwin AT cygwin DOT com, perl5-porters AT perl DOT org
Subject: Re: perl with cygwin 1.5 doesn't fly.
In-Reply-To: <000601c34eeb$2b20d940$0401a8c0@vaio>
References: <000601c34eeb$2b20d940$0401a8c0 AT vaio>
MIME-Version: 1.0

Hallo George,

Am Sonntag, 20. Juli 2003 um 20:17 schriebst du:

> Check u're perl code again

Hey, I try to build perl from sources with the new 64bit Cygwin 1.5
prerelease.  All the code that is failing is the perl code from the
perl sources which is used to build Perl.


> Use strict;   # that way you must use 'my' to define all scalars

> My %module = ( 'cygwin'=>'Cygwin' ); # note 'cygwin'
> My $var = $module{$^0} || 'Unix'  # can't remember what special variable =
> # $^0 but note that since %module and
> # $var are in the same scope you should try not to name %module and $module
> bcos $module refers to an entry in the hash of %modules

> Print "$var\n";

Unfortunately, the static miniperl compiled with Cygwin 1.5 fails.  It
seems that every 'my' is treated like a '#' and so it is not visible.


Gerrit

P.S. please fix your quoting, these mails are archived and open to
every harvester (that means, please don't include email adresses in
the body of your mails!)
-- 
=^..^=


--
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