[sf-perl] Hanging with the diamond operator?
Richard Reina
gatorreina at gmail.com
Tue Jan 8 14:43:29 PST 2008
I have never used DEBUG before I'll try this and see what happens.
Thanks,
RIchard
On 1/8/08, Daniel Lo <woof at danlo.com> wrote:
> 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
>
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
More information about the SanFrancisco-pm
mailing list