Front page | perl.beginners |
Postings from April 2002
RE: Array question
Thread Previous
|
Thread Next
From:
Allison Ogle
Date:
April 1, 2002 13:26
Subject:
RE: Array question
Message ID:
HFECKDFDGONADPGJKBPJKEFGCCAA.aogle@ti.com
Thanks for your help. I finally got it to work.
Allison
-----Original Message-----
From: drieux [mailto:drieux@wetware.com]
Sent: Monday, April 01, 2002 3:44 PM
To: beginners@perl.org
Subject: Re: Array question
On Monday, April 1, 2002, at 11:11 , Aman Raheja wrote:
> $array-prob.pl <datafile>
p1: I loved the
$field{$_}++;
p2: but since you have stashed it all in a Hash, why not
unpack the hash with
my @arr = keys(%field);
the counter proposal -
http://www.wetware.com/drieux/CS/lang/Perl/Beginners/array-prob.txt
ciao
drieux
---
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
Thread Previous
|
Thread Next