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" <noreply@gunnar.cc>
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 ) {
>
Thread Previous
|
Thread Next