[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 1999 11:11 AM
Subject: Re: Associative Arrays problem
> Since the broken code worked in regular perl
(and it was supposed to work> because $rech and %rech are different
things) and it didn't want to work> in
One thing we should be clear about: mod_perl is EXACTLY regular Perl.
There are no differences in how the Perl code is interpreted. The
interpreter is not crippled or modified, it just processes Perl like it
usually does.
The only difference is that your code may be run several times in a row,
= {
> '001' => 1,
> '002' => 2,
> '003' => 1
> };
>
> $recherche = '002'
>
>
>
>
> Thanks,
>
> Tim Tompkins
> --
&
'001' => 1,
'002' => 2,
'003' => 1
};
$recherche = '002'
Thanks,
Tim Tompkins
--
Programmer / IS Technician
http://www.arttoday.com/
- Original Message -
From: Cédric Avena <[EMAIL PROTECTED]>
To:
> "Cédric" == Cédric Avena <[EMAIL PROTECTED]> writes:
Cédric> An extract of my program:
Cédric> %toto = ( "001" => 1, "002" => 2, "003" => 3 );
Cédric> %tato = ( "004"=> 4, "002"=> 5, "005"=> 6 );
Cédric> $rech = {};
This $rech variable is unused in the rest of your code. "use strict"
is y
Cédric Avena wrote:
>
> Hi,
>
> I'm using associative arrays in ASP 0.16, but it doesn't work... I have
> taken the same portion of code in a .pl file and execute it, it works...
>
> Do associative arrays work with modperl ? Could anybody help me ?
>
> An extract of my program:
> %toto = ( "00
Hi,
I'm using associative arrays in ASP 0.16, but it doesn't work... I have
taken the same portion of code in a .pl file and execute it, it works...
Do associative arrays work with modperl ? Could anybody help me ?
An extract of my program:
%toto = ( "001" => 1, "002" => 2, "003" => 3 );
%tato