pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43823: bug in p5-Time-modules - perl 5.12



>Number:         43823
>Category:       pkg
>Synopsis:       bug in p5-Time-modules - perl 5.12
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 31 20:15:01 +0000 2010
>Originator:     RobQ
>Release:        Solaris 2.10
>Organization:
>Environment:
>Description:
After building perl 5.12 and rebuilding all my p5- packages I get this error 
when I call parsedate in p5-Time-modules:

Use of uninitialized value $ampm in uc at 
/usr/pkg/lib/perl5/vendor_perl/5.12.0/Time/ParseDate.pm line 733, <$PIPE> line 
272.

If you google you can see automated cpan tests reporting it too, including one 
that seems to email the author.  I don't see any fixes posted on cpan.
>How-To-Repeat:

>Fix:
I think the fix is to check that $ampm is defined on line 733 before comparing 
it to "AM", just like is done on line 732 when it's compared to "PM".



Home | Main Index | Thread Index | Old Index