On Wed, Apr 23, 2008 at 8:56 AM, <[EMAIL PROTECTED]> wrote: > Hi All, > > I need to delete some lines in file using Perl. The requirement is that > I have one file which contains following lines. > > Element * checkdout > Element * latest. snip
You should read http://perldoc.perl.org/perlfaq5.html#How-do-I-change,-delete,-or-insert-a-line-in-a-file,-or-append-to-the-beginning-of-a-file? If you have difficulty after reading that and trying some code, please post your code and questions back to this list and we will try to help you. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/