in reply to Re^4: session expiry
in thread session expiry
Have you looked at what line 50 is?
You are not checking whether creating your REPORT file succeeds. Change
toopen REPORT, ">> ...";
open REPORT, '>>', $report_file or die "Couldn't append to REPORT file '$report_file';
You are not checking whether creating $sock1 succeeds. But you still blindly try to write to it, which might or might not cause your error.
As an aside, you have commented out use strict;. Why?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: session expiry
by trelane (Initiate) on May 26, 2010 at 10:01 UTC | |
by Corion (Patriarch) on May 26, 2010 at 10:15 UTC |