🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #7231

Re: Alweer een Perl probleempje

#7231
From: Dominique Devriese
Date: Sat, 05 Oct 2002 11:02
23 lines
1983 bytes
R G writes:

> Hallo, in mijn volgende code heb ik een probleem:

> sub VerwerkBestand{
>  for $regel (1..18) {
>   $ploeg{$bestand[$regel]} = $bestand[$regel]; print
>   "$ploeg{$bestand[$regel]}<br>";
>  } print "$ploeg{Deinze}";
> }

> In de for lus wordt alles perfect naar het scherm geschreven Elke
> regel uit die array @bestand is een ploegnaam uit tweede klasse Maar
> waarom wil hij dan print "$ploeg{Deinze}"; niet naar scherm
> schrijven ?  Blijkbaar herkent hij "Deinze" niet, nochtans staat
> deze ook in een van die regels uit de array (hoofdletters, kleine
> letters kloppen)

helpt het als je die Deinze tussen aanhalingstekens ("") zet ?
sjuus
domi
-- 
Do what comes naturally.  Seethe and fume and throw a tantrum.
Technical Details
Message-ID: <87r8f5b13k.fsf@appel.kotnet.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!aotearoa.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail
References: <gvnn9.146079$8o4.21680@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,6bd2abdf656ef24
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-10-05 04:12:01 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!aotearoa.belnet.be!naxos.belnet.be!news.belnet.be!not-for-mail
From: Dominique Devriese <dominique.devriese@student.kuleuven.ac.be>
Newsgroups: be.comp.programming
Subject: Re: Alweer een Perl probleempje
Date: 05 Oct 2002 13:02:07 +0200
Organization: KULeuvenNet
Lines: 23
Sender: domi@appel
Message-ID: <87r8f5b13k.fsf@appel.kotnet.org>
References: <gvnn9.146079$8o4.21680@afrodite.telenet-ops.be>
NNTP-Posting-Host: seven.kulnet.kuleuven.ac.be
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: naxos.belnet.be 1033815731 4114 134.58.127.12 (5 Oct 2002 11:02:11 GMT)
X-Complaints-To: abuse@belnet.be
NNTP-Posting-Date: Sat, 5 Oct 2002 11:02:11 +0000 (UTC)
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)
Cache-Post-Path: seven.kulnet.kuleuven.ac.be!unknown@domi.kotnet.org
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)