Hello Everybody,
I want to search for a specific mailid in a file and if found then delete
that mailid from that file.
open(HANDLE_CLI, "> $file_cli") || die"Cannot open $file_cli:$!\n" ; ###its
ok.
while(<HANDLE_CLIENT>)
{
chomp;
if($mailid eq $_)
{
s/$_// ;
break ; ###deleting the contents of file....is there any specific
commnd to delete the contents....how to do
}
close(HANDLE_CLI);
Waiting for Reply..........
Thanx in Advance,
Rahul.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]