awohld has asked for the wisdom of the Perl Monks concerning the following question:
use Tie::File; my $file = "file.csv"; tie my @lines, Tie::File, $file or die "can't update $file: $!"; delete $lines[1];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tie::File Deleting Lines Including "\n"
by ikegami (Patriarch) on Oct 04, 2005 at 20:38 UTC | |
by awohld (Hermit) on Oct 04, 2005 at 20:50 UTC | |
|
Re: Tie::File Deleting Lines Including "\n"
by sk (Curate) on Oct 04, 2005 at 20:42 UTC | |
|
Re: Tie::File Deleting Lines Including "\n"
by sauoq (Abbot) on Oct 04, 2005 at 20:51 UTC | |
|
Re: Tie::File Deleting Lines Including "\n"
by pg (Canon) on Oct 04, 2005 at 20:46 UTC |