abachus has asked for the wisdom of the Perl Monks concerning the following question:
hello there, quick question if i may,
Whats the difference between :
Isaac.
Whats the difference between :
and...for(@array){ print $_,"\n"; }
many thanks,foreach(@array){ print $_,"\n"; }
Isaac.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: for() or foreach() ?
by ikegami (Patriarch) on Jul 14, 2006 at 15:46 UTC | |
by abachus (Monk) on Jul 14, 2006 at 15:52 UTC | |
Re: for() or foreach() ?
by polettix (Vicar) on Jul 14, 2006 at 15:31 UTC | |
Re: for() or foreach() ?
by wazzuteke (Hermit) on Jul 14, 2006 at 15:31 UTC | |
Re: for() or foreach() ?
by kabeldag (Hermit) on Jul 14, 2006 at 17:10 UTC |
Back to
Seekers of Perl Wisdom