Article View: es.comp.os.linux.programacion
Article #9070Re: Modificación de referencia a array en Perl
From: Iñaki Arenaza
Date: Sun, 08 Sep 2002 12:26
Date: Sun, 08 Sep 2002 12:26
29 lines
2337 bytes
2337 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "RinzeWind" == RinzeWind <enlafirma@paraquenomespam.een> writes:
RinzeWind> Tengo un $objeto->{ARRAY}, que es una referencia a un
RinzeWind> array. La cuesti�n es: �c�mo modifico un elemento del
RinzeWind> array y hago que sea permanente? Al final lo que hice
Para modificar el elemento vale con algo como:
$objeto->{ARRAY}->[elemento] = $valor;
Lo de que la "modificacion sea permanente" no lo he entendido, asi que
me abstengo de comentar.
Saludos. I�aki.
- --
Get PGP/GPG Keys at http://www.escomposlinux.org/iarenaza/pgpkey.html
I use free software / Yo uso software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>
iD8DBQE9e0HaZXLnGT1HLgcRApJ+AJ0TCTOptXygrCMoAzxYD+ZAkkQIRwCdF9r7
b2bKkWID7aPn65Tlq0d0B+U=
=g4HQ
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<87heh07jms.fsf@barad-dur.escomposlinux.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!news.stealth.net!news.stealth.net!central.cox.net!cox.net!antonio.escomposlinux.org!news.eteo.mondragon.edu!not-for-mailReferences:
<alf1tn$dgp$1@reader2.wnet>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,f5272ec9921fd493 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-09-08 05:26:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!news.stealth.net!news.stealth.net!central.cox.net!cox.net!antonio.escomposlinux.org!news.eteo.mondragon.edu!not-for-mail From: iarenaza@eb2ebu.ampr.org (Iñaki Arenaza) Newsgroups: es.comp.os.linux.programacion Subject: Re: Modificación de referencia a array en Perl Date: Sun, 08 Sep 2002 14:26:03 +0200 Organization: Mondragon Unibertsitatea - ETEO Lines: 29 Distribution: es Message-ID: <87heh07jms.fsf@barad-dur.escomposlinux.org> References: <alf1tn$dgp$1@reader2.wnet> NNTP-Posting-Host: 62-37-122-66.dialup.uni2.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: poseidon.eteo.muni.es 1031487960 24133 62.37.122.66 (8 Sep 2002 12:26:00 GMT) X-Complaints-To: newsmaster@eteo.mondragon.edu NNTP-Posting-Date: Sun, 8 Sep 2002 12:26:00 +0000 (UTC) User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i386-debian-linux-gnu) Cancel-Lock: sha1:DVWztxLPn4U3aH1ZSpWAMPE2548=