Re: Logger::Simple Deep Recursion Error

2006-10-27 Thread Sisyphus

- Original Message - 
From: "Michael Papet" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 27, 2006 3:57 AM
Subject: Logger::Simple Deep Recursion Error


> Hi,
>
> I'm trying to use Logger::Simple in my program with an
> empty log file.  When I go to nmake test I get the
> following error:
>
> "Deep recursion on subroutine "Logger::Simple::write"
> at
> C:/Perl/site/lib/Logger/Simple.pm line 84
> (#3)"
>

Can't reproduce the problem. After fixing a bug in t\02readwrite.t (relating
to the cleaning up of 'logfile2') I get:

E:\comp58\Logger-Simple-2.0>nmake test

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

E:\Perl810\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0,
'blib\lib', 'blib\arch')" t\01load.t t\02readwrite.t t\03lock.t t\04pod.t
t\01load.ok
t\02readwriteok
t\03lock.skipped
all skipped: File Locking not working on MS Windows
t\04pod..ok
All tests successful, 1 test skipped.
Files=4, Tests=6,  2 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)

That's on ActivePerl build 810 (perl 5.8.4). On my MinGW-built perl 5.8.8, I
find there's no difference.

Which of the four test scripts actually generates the error you've reported
?

Cheers,
Rob

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Logger::Simple Deep Recursion Error

2006-10-26 Thread Michael Papet
Hi,

I'm trying to use Logger::Simple in my program with an
empty log file.  When I go to nmake test I get the
following error:

"Deep recursion on subroutine "Logger::Simple::write"
at
C:/Perl/site/lib/Logger/Simple.pm line 84
(#3)"

Relevent code from that file:
  push @{$$self{HISTORY}},$error;
  carp "$error\n" if $$self{CARP};
  $self->write($error); # line 84
}

1. Is there something I'm missing?  
2. Can someone suggest a fix?
3. Is there a working logger in the activestate repo? 
4. Where do I report bugs? Activestate or back to author?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs