Hi Gunnar and Members
I am very thrilled with your solutions. Is 'LOOP' as in ====>> LOOP: foreach
( @datas ) { <<=========
a function or a command etc. I could not find this function in
http://perldoc.perl.org/index-functions.html#L
Thanks
----- Original Message -----
From: "Gunnar Hjalmarsson" <[EMAIL PROTECTED]>
To: <beginners@perl.org>
Sent: Sunday, May 04, 2008 4:22 AM
Subject: Re: how to simplify this script
As usual, hashes can be useful to simplify things. In the code suggestion
below I made use of the 'array of hashes' @numbers.
my $numbers_wanted = 2;
my ( @datawanted, @numbers );
LOOP: foreach ( @datas ) {
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/