[sf-perl] Hanging with the diamond operator?

Daniel Lo woof at danlo.com
Tue Jan 8 14:25:07 PST 2008


Log::Log4perl is could be a winner.

You might want to try logging the "$in_file" names, along with a start and
finish time.

sub delimit {
    my ...
    DEBUG( 'Start :' . scalar localtime );
    DEBUG( '$in_file :' . $in_file );

    ...

    DEBUG ('End :' . scalar localtime ) ;
}

-daniel



Tuesday, January 8, 2008, 2:07:08 PM, you wrote:

> Follow-up:

> I agree with Joe.  I don't think we'll be able to help any further
> without seeing more of your code (and files).

> Even then, we may not be able to reproduce the problem, if Daniel's and my
> common hunch is right and it's an NFS (or other SAN) glitch.

> I would suggest re-writing the code with non-blocking IO instead of <>,
> then seeing what kind of errors you get back (in $!).  See the entry on sysread
> in the perlfunc(1) man page.

> Bummer about the private network thing.  That's a pain.  Are you sure you
> aren't getting yourself into trouble sending us code?




-- 
Best regards,
 Daniel                            mailto:woof at danlo.com




More information about the SanFrancisco-pm mailing list