This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: perl with cygwin 1.5 doesn't fly.
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- To: "George Njoku" <gnjoku at pegasus dot rutgers dot edu>
- Cc: cygwin at cygwin dot com, perl5-porters at perl dot org
- Date: Mon, 21 Jul 2003 23:16:18 +0200
- Subject: Re: perl with cygwin 1.5 doesn't fly.
- Organization: Esse keine toten Tiere
- References: <000601c34eeb$2b20d940$0401a8c0@vaio>
- Reply-to: "Gerrit P. Haase" <gp at familiehaase dot de>
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/