Article View: es.comp.os.linux.programacion
Article #1357Problema en un for de PERL
From: Olaf "El BLanco"
Date: Fri, 20 Jan 2006 20:56
Date: Fri, 20 Jan 2006 20:56
8 lines
1171 bytes
1171 bytes
for ($a=0; $a<$max; print "\t$a", $a++) {}
// Imprime 1 2 3 4 5 ... max. Muy bien...
Pero ahora quiero hacer esto otro:
for ($a=0; $a<$max; $a++, print "\t$a") {}
// Y me imprime 00 11 22 33 44... max-1max-1 ?
Technical Details
Message-ID:
<dqriqn$6sg$1@cormoran.emeteo.local>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!antonio.escomposlinux.org!cernicalo.escomposlinux.org!escomposlinux.org!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f86c8,3f5c6a29bebed5ff,start X-Google-Attributes: gidf86c8,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!antonio.escomposlinux.org!cernicalo.escomposlinux.org!escomposlinux.org!not-for-mail From: "Olaf \"El BLanco\"" <winter@yahoo.co.uk> Newsgroups: es.comp.os.linux.programacion Subject: Problema en un for de PERL Date: Fri, 20 Jan 2006 21:56:54 +0100 Organization: Ecolnet Lines: 12 Message-ID: <dqriqn$6sg$1@cormoran.emeteo.local> NNTP-Posting-Host: 82.red-88-5-191.staticip.rima-tde.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: cormoran.emeteo.local 1137790615 7056 88.5.191.82 (20 Jan 2006 20:56:55 GMT) X-Complaints-To: emeteo@escomposlinux.org NNTP-Posting-Date: Fri, 20 Jan 2006 20:56:55 +0000 (UTC) User-Agent: KNode/0.7.7