develooper Front page | perl.beginners | Postings from May 2007

Delete a particular line from file

Thread Next
May 14, 2007 21:14
Delete a particular line from file
Message ID:

I have used the file in perl, file contains like that,

1176369096.111    468 TCP_MISS/200 9629 
1176378643.614    458 TCP_MISS/200 9626 
1176378681.984    662 TCP_MISS/200 9626 
1176436396.304   1142 TCP_MISS/200 13281 
1176436397.228    916 TCP_REFRESH_HIT/200 7521 
1176436469.060   1470 TCP_MISS/200 5822 

I have need to split the each column in to separate hash value,before
that i need to delete the particular user details from the file.For
example if a line contains the user I/P  of then i should
delete that whole line and then split in to separate column. For that
what should i do??


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About