delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/01/04:39:36

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
Message-ID: <3E3B9523.1040105@sympatico.ca>
Date: Sat, 01 Feb 2003 04:36:35 -0500
From: f <fredma AT sympatico DOT ca>
Reply-To: fredma AT sympatico DOT ca
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: fred <fma AT doe DOT carleton DOT ca>
CC: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Example perl code & newgroup charters (SOLVED)
References: <3E3B843C DOT 5080805 AT doe DOT carleton DOT ca>

Hi,

Please ignore my previous posting.  Perls is behaving
exactly as intended.  My brain is just dead, that's all.

Fred

fred wrote:

> Hello,
>
> I'm using Perl v5.6.1 built for cygwin-multi.
> It runs on cygwin  1.3.19-1.  I'm going thru
> some example code in "man perlintro":
>
> > my $variables = {
> >     scalar  =>  {
> >                  description => "single item",
> >                  sigil => '$',
> >                 },
> >     array   =>  {
> >                  description => "ordered list of items",
> >                  sigil => '@',
> >                 },
> >     hash    =>  {
> >                  description => "key/value pairs",
> >                  sigil => '%',
> >                 },
> > };
> >
> > print "Scalars begin with a $variables->{'scalar'}->{'sigil'}\n";
>
> All it prints is
>
>> Scalars begin with a $
>
>
> I don't want to jump to conclusions
> and say it's wrong, but it sure seems
> strange for the point being illustrated.
> Is it correct?  If not, what might be
> wrong?  Do other users of this perl
> version (and/or cygwin version) have
> the same problem?
>
> I tried to find the charter for these
> newsgroups via google (searching for
> charter in the subject line, as well
> as in general for some of the groups).
> Can anyone refer me to this?  Thanks.
>
> Fred
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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