in reply to for, foreach and $_...
use strict; use warnings; my @array = qw/one two three four five/; foreach (@array) { print "$_\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: for, foreach and $_...
by Foggy Bottoms (Monk) on Aug 18, 2003 at 14:26 UTC | |
by liz (Monsignor) on Aug 18, 2003 at 14:37 UTC | |
by chromatic (Archbishop) on Aug 18, 2003 at 16:45 UTC |