Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 30959 invoked from network); 19 Mar 2008 19:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2008 19:19:00 -0000 Received: (qmail 51955 invoked by uid 500); 19 Mar 2008 19:18:58 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 51939 invoked by uid 500); 19 Mar 2008 19:18:58 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 51923 invoked by uid 99); 19 Mar 2008 19:18:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 12:18:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tbriles@loopone.com designates 209.163.131.14 as permitted sender) Received: from [209.163.131.14] (HELO mail.loopone.com) (209.163.131.14) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 19:18:17 +0000 Received: (qmail 8593 invoked by uid 89); 19 Mar 2008 19:18:28 -0000 Received: from unknown (HELO exchange.loopone.com) (10.1.1.16) by 0 with SMTP; 19 Mar 2008 19:18:28 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: textarea "arrays" initialize incorrectly Date: Wed, 19 Mar 2008 14:18:27 -0500 Message-ID: <27BA114810C3A64E84A4A4283C12CFD41A9C64@exchange.loopone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: textarea "arrays" initialize incorrectly Thread-Index: AciJ9E/x7NPWp+RYS5me8M2G5jWq9AAAZ13g From: "Tom Briles" To: "Todd White" Cc: X-Virus-Checked: Checked by ClamAV on apache.org Ah, perhaps it's an Embperl 2.X issue then. We've had lots of those... ;)=20 -----Original Message----- From: Todd White [mailto:tmwhite@merit.edu]=20 Sent: Wednesday, March 19, 2008 2:06 PM To: Tom Briles Cc: embperl@perl.apache.org Subject: RE: textarea "arrays" initialize incorrectly The only thing I didn't share was... Apache/2.2.6 (Unix) mod_ssl/2.2.6 PHP/5.2.4 mod_perl/2.0.2 Perl/v5.8.8 Embperl 2.2.0 Now you have the rest of the story. --Todd On Wed, 19 Mar 2008, Tom Briles wrote: > I tried the code below in Embperl 1.3, and it works as expected (i.e., > each textarea has only one character). > > Is there something you aren't telling us? > > -----Original Message----- > From: Todd White [mailto:tmwhite@merit.edu] > Sent: Wednesday, March 19, 2008 1:48 PM > To: embperl@perl.apache.org > Subject: textarea "arrays" initialize incorrectly > > Here's the code: > > [- > $fdat{"WHATEVER_1"} =3D "a"; > $fdat{"WHATEVER_2"} =3D "b"; > $fdat{"WHATEVER_3"} =3D "c"; > $fdat{"WHATEVER_4"} =3D "d"; > $fdat{"WHATEVER_5"} =3D "e"; > $fdat{"WHATEVER_6"} =3D "f"; > $fdat{"WHATEVER_7"} =3D "g"; > $fdat{"WHATEVER_8"} =3D "h"; > -] > > > > > >
> > [$ foreach $i (1 .. 8) $] >
[$ endforeach $] > >
> >
> > > > > > Here's the very odd result: > http://www.merit.edu/~tmwhite/textarea.epl > > > Can anyone explain why? Or if there is a fix? (Other than manually=20 > initializing each textarea field.) > > Thanks. > --Todd White > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org > For additional commands, e-mail: embperl-help@perl.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org