Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: Deletion of...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 10981 of 11509
Post > Topic >>

Re: Deletion of lines in file using perl

by chas.owens@[EMAIL PROTECTED] (Chas. Owens) Apr 23, 2008 at 11:20 AM

On Wed, Apr 23, 2008 at 8:56 AM,  <Irfan.Sayed@[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 im****tant skill a programmer can have is the ability to read.
 




 3 Posts in Topic:
Deletion of lines in file using perl
Irfan.Sayed@[EMAIL PROTEC  2008-04-23 18:26:51 
Re: Deletion of lines in file using perl
peng.kyo@[EMAIL PROTECTED  2008-04-23 21:21:18 
Re: Deletion of lines in file using perl
chas.owens@[EMAIL PROTECT  2008-04-23 11:20:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 23 21:07:22 CDT 2008.