develooper Front page | perl.beginners | Postings from May 2008

Re: how to simplify this script

Thread Previous | Thread Next
From:
Gunnar Hjalmarsson
Date:
May 3, 2008 16:19
Subject:
Re: how to simplify this script
itshardtogetone@hotmail.com wrote:
> Hi Gunnar and Members
> 
> I am very thrilled with your solutions. Is 'LOOP' as in ====>> LOOP: 
> foreach ( @datas ) { <<=========
> a function or a command etc.

No, it's just the name I chose to give the outer foreach loop to be able 
to refer to it from within the inner foreach loop. See the last example 
in the "Foreach Loops" section in "perldoc perlsyn".

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About