Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Printer CPAN distribution.

Report information
The Basics
Id: 68567
Status: resolved
Priority: 0/
Queue: Data-Printer

People
Owner: Nobody in particular
Requestors: RANDIR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.16



Subject: Fails to load on 5.8.8
First, thanks for a great module) There's a patch in attachment, that makes it work on 5.8.8.
Subject: data-printer.diff
--- lib/Data/Printer.pm.old 2011-05-31 16:52:49.000000000 +0400 +++ lib/Data/Printer.pm 2011-05-31 16:51:52.000000000 +0400 @@ -289,8 +289,8 @@ eval { if (my $flags = fcntl($$item, F_GETFL, 0) ) { - $extra .= $flags & O_WRONLY ? 'write-only' - : $flags & O_RDWR ? 'read/write' + $extra .= ($flags & O_WRONLY) ? 'write-only' + : ($flags & O_RDWR) ? 'read/write' : 'read-only' ;
On Tue May 31 09:01:24 2011, RANDIR wrote: Show quoted text
> First, thanks for a great module) There's a patch in attachment, that > makes it work on 5.8.8.
Great! Just shipped 0.16 with your patch, should hit CPAN anytime soon. Thank you very much!
On Tue May 31 11:13:46 2011, GARU wrote: Show quoted text
> On Tue May 31 09:01:24 2011, RANDIR wrote:
> > First, thanks for a great module) There's a patch in attachment, that > > makes it work on 5.8.8.
> > Great! Just shipped 0.16 with your patch, should hit CPAN anytime soon. > > Thank you very much!
I just tested 0.19 on 5.8.9 and it works rather nicely. Can you confirm this is solved for 5.8.8 so we can close the ticket? Thanks again!
Yes, it has been fixed. Thanks.