Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
tie my @file, 'Tie::File', $file or die 'Could not open file'; for (@file) { if (/matching_line/) { I need to delete this matiching line } } untie @file;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Delete a line from a file using Tie::File
by kcott (Archbishop) on Nov 02, 2010 at 01:02 UTC | |
by Anonymous Monk on Nov 02, 2010 at 01:18 UTC | |
by Anonymous Monk on Nov 02, 2010 at 21:43 UTC | |
by Anonymous Monk on Nov 03, 2010 at 03:24 UTC |