On 2012-03-30 12:33, Eko Budiharto wrote:
I would like to ask about 2 dimensional array
Each element of a Perl array is a scalar.
my @colors = ( "red", "white", "blue" );
which can also be written as:
my @colors = qw( red white blue );
and can be used as:
print "ok" if $colors[ 2
> -Original Message-
> From: Eko Budiharto [mailto:eko.budiha...@gmail.com]
> Sent: Friday, March 30, 2012 6:33 AM
> To: beginners@perl.org
> Subject: [question] array
>
> hi list,
> I would like to ask about 2 dimensional array
>
> my code:
> my $ref = $sth->fetchall_arrayref();
> foreac
Thanks Offer! It's working!
Wim
-Original Message-
From: Offer Kaye [mailto:[EMAIL PROTECTED]
Sent: 31 March 2005 02:55 PM
To: Perl Beginners
Subject: Re: Question: Array of Hashes
On Thu, 31 Mar 2005 14:40:47 +0200, Olivier, Wim W wrote:
> Hi all,
>
> I have the
On Thu, 31 Mar 2005 14:40:47 +0200, Olivier, Wim W wrote:
> Hi all,
>
> I have the following code below which I need to modify a bit.
>
> The script currently lists the key/value pairs for all processes in the
> system.
> What I need to achieve is for it to only list the key/value pairs for
> pro