On Mon, May 25, 2009 at 23:50, sanket vaidya <[email protected]> wrote:
snip
> So to conclude
> 'for' & 'foreach' are the two different ways to write same thing & there is
> no particular advantage of using one over other.
>
> Group, correct me if I am wrong.
snip

I wouldn't say there is no advantage; for is four characters shorter.
But that is pretty much it.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to