in reply to Detecting Last line of a file
my $addrCt = 0; foreach $address (@content) { print ", " if $addrCt++; # won't be done the first time chomp($address); print $address; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Detecting Last line of a file
by omega_monk (Scribe) on Jun 18, 2005 at 15:32 UTC | |
|
Re^2: Detecting Last line of a file
by GrandFather (Saint) on Jun 18, 2005 at 22:24 UTC | |
by davidrw (Prior) on Jun 18, 2005 at 22:51 UTC | |
by GrandFather (Saint) on Jun 19, 2005 at 04:44 UTC |