Hello Everybody, I want to search for a specific mailid in a file and then delete that mailid from that file. open(HANDLE_CLI, "> $file_cli") || die"Cannot open $file_cli:$!\n" ; ###its ok. #####search code ....that i will do.......... ###deleting the contents of file....is there any specific commnd to delete the contents....how to do.......also if i have search earlier then can i directly go to that point in file thru something like filepointer in PERL..how??? close(HANDLE_CLI); Waiting for Reply.......... Thanx in Advance, Rahul.