delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/23/16:46:34

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
Date: Tue, 23 Sep 2003 22:45:59 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <12138369181.20030923224559@familiehaase.de>
To: Igor Pechtchanski <cygwin AT cygwin DOT com>
Subject: Re: Problem with perl distro?
In-Reply-To: <Pine.GSO.4.56.0309231548250.8775@slinky.cs.nyu.edu>
References: <20030923 DOT 123242 DOT 15014 DOT 279252 AT webmail05 DOT nyc DOT untd DOT com>
<Pine DOT GSO DOT 4 DOT 56 DOT 0309231548250 DOT 8775 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0

Igor schrieb:


> $screen was uninitialized.  Changing it to 'my $screen = ""' eliminates
> the warnings in the simpler script.
>         Igor

Both are not initialized (the third was not used anyway, so I deleted
it.

# Variables used in loop
my $screen = "";
my $fldname = "";

But still what I wrote earlier (but did not arrive at the list), this line:

AACE_1."ADDR LINE1":

or this one:
AACE_1.CITY_0:

will not be matched with this regex: /^(\w+):$/)
Quotes and points are usually not in words included.

So I'm getting this output (when saving in Unix line ending format):

$ ./testgui.pl
Screen name: AACE_1
Start of block
(ignored)
(ignored)
(ignored)
End of block
Start of block
(ignored)
(ignored)
End of block
(ignored)
Start of block
(ignored)
ID for field : 734
End of block
[...]


Gerrit
-- 
=^..^=


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