🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #221

Re: Perl: stringbewerking

#221
From: Philip Paeps
Date: Mon, 09 Jun 2008 09:08
22 lines
2091 bytes
K.vd Graaff <a@b.c> wrote:
> Zijn er in Perl ook lijstvariabelen? Ik wil een string met
> getallen, gescheiden door een streepje, omzetten in losse
> getallen, gevat in lijstvariabelen. BV:

Vreemd dat je niets over arrays of hashes bent tegengekomen in de Perl
documentatie die je ongetwijfeld gelezen hebt voor je deze vraag hier stelde?

> Hoe giet ik dat in 't vat?

Met split.

 - Philip

-- 
Philip Paeps                                    Please don't email any replies
philip@paeps.cx                                     I follow the newsgroup.

  In retrospect, Victor was always a little unclear about those next few
  minutes. That's the way it goes. The moments that change your life are
  the ones that happen suddenly, like the one where you die.
          -- (Terry Pratchett, Moving Pictures)
Technical Details
Message-ID: <slrng4psp9.r8.philip+usenet@carrot.home.paeps.cx>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <484ca434$0$759$58c7af7e@news.kabelfoon.nl>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,cf2759d34ca4f73a
X-Google-Thread: 107324,cf2759d34ca4f73a
X-Google-Attributes: gidfcea4,gid107324,domainid0,public,usenet
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Philip Paeps <philip+usenet@paeps.cx>
Newsgroups: be.comp.programming,nl.comp.programmeren
Subject: Re: Perl: stringbewerking
Date: 9 Jun 2008 09:08:57 GMT
Organization: Happily Disorganized
Lines: 22
Message-ID: <slrng4psp9.r8.philip+usenet@carrot.home.paeps.cx>
References: <484ca434$0$759$58c7af7e@news.kabelfoon.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net pswxwegofW8pcnoSzxcjnQj6U6qnddSmkvdsj7wpBcdZL5+pAW
Cancel-Lock: sha1:ryzhX9KLOjvNVgYasI78mroTcSw=
X-PGP-Fingerprint: 356B AE02 4763 F739 2FA2  E438 2649 E628 C5D3 4D05
X-Date: Today is Setting Orange, the 14th day of Confusion in the YOLD 3174
X-Date-in-Rome: ante diem V Idus Iunias MMDCCLXI ab Urbe Condida
X-Phase-of-Moon: The Moon is Waxing Crescent (38% of Full)
User-Agent: slrn/0.9.8.1pl2 (FreeBSD)