Re: Help with files

2004-02-03 Thread Marcelo
found the sollution, thanks for all the comments. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help with files

2004-02-03 Thread Owen
On Tue, 3 Feb 2004 11:06:08 -0300 "Marcelo" <[EMAIL PROTECTED]> wrote: > Hi everyone, need help with two things; > > how do you find out if a line is duplicated in a file, and delete it if so. > > how do you delete a line if it has more than x number of characters. You probably need to define

Re: Help with files

2004-02-03 Thread James Edward Gray II
(redirected to Perl Beginners by James) Begin forwarded message: From: "Marcelo" <[EMAIL PROTECTED]> Date: February 3, 2004 1:56:20 PM CST To: "James Edward Gray II" <[EMAIL PROTECTED]> Subject: Re: Help with files Found the way to delete duplicates on an array (

Fw: Help with files

2004-02-03 Thread Marcelo
Found the way to delete duplicates on an array (using hash keys), but the other problem is: if I have linse on a file that say: username:password sometx:uilokj how do i delete the lines that don't have, say, 6 letters, followed by a : and then another 6 letters. tried this re, but it won't

Re: Help with files

2004-02-03 Thread James Edward Gray II
On Feb 3, 2004, at 1:06 PM, Marcelo wrote: Hi everyone, need help with two things; how do you find out if a line is duplicated in a file, and delete it if so. how do you delete a line if it has more than x number of characters. What have you tried? Post some code, show us where you are stuck a

Help with files

2004-02-03 Thread Marcelo
Hi everyone, need help with two things; how do you find out if a line is duplicated in a file, and delete it if so. how do you delete a line if it has more than x number of characters. Thanks a lot in advance.

Help with files

2004-02-03 Thread Marcelo
Hi everyone, need help with two things; how do you find out if a line is duplicated in a file, and delete it if so. how do you delete a line if it has more than x number of characters. Thanks a lot in advance.

Re: help with files reading

2002-10-07 Thread david
Pravesh Biyani wrote: > hi > this is regarding my last post .. > > there was this confusion about the suggested methoed which would work when > we pass file desc as one of the input to a function. I amstill not clear > about the concept. > > is this ok: > > $file =" file_read($file) > sub fil

help with files reading

2002-10-07 Thread Pravesh Biyani
hi this is regarding my last post .. there was this confusion about the suggested methoed which would work when we pass file desc as one of the input to a function. I amstill not clear about the concept. is this ok: $file =" blah blah } will this work ? pravesh