my $addrCt = 0; foreach $address (@content) { print ", " if $addrCt++; # won't be done the first time chomp($address); print $address; }
In reply to Re: Detecting Last line of a file
by davidrw
in thread Detecting Last line of a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |