Dear Sirs, With this script I am writing data into the file
use Fcntl ':flock'; open (FORUM, ">name/$name.usr"); flock(FORUM, $LOCK_EX); print FORUM ("$namedat\n"); flock(FORUM, $LOCK_UN); close (FORUM); I don't know why some times, my script write nothing into the file also erase the file's contents as well. Do you have any idea what I need to do? Best Regards _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activeperl