in reply to Re: printing elements of an array on new lines
in thread printing elements of an array on new lines

Why not simple over fancy?? my @people = ('fred', 'bill', 'charley'); foreach my $person (@people) { print "$person\n" };

Replies are listed 'Best First'.
Re: Bubba Asks
by BUU (Prior) on Aug 23, 2003 at 17:11 UTC
    Because this is Perl and, repeat after me, "There Is More Then One Way To Do It"
Re: Bubba Asks
by Arbogast (Monk) on Aug 23, 2003 at 17:08 UTC
    And why don't I learn to format my answer :)