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 work:

 /\w{6}:\w{6}/

 Thanks



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to