Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

drhyde (1683)

drhyde
  (email not shown publicly)
http://www.cantrell.org.uk/david

Journal of drhyde (1683)

Tuesday March 03, 2009
05:38 AM

Embarrassment

[ #38581 ]

I am embarrassed - nay, ashamed! - to have to confess that I didn't bother to run the code through all my various CPAN-testing machines before releasing it, and so I let something escape which only works on perl 5.10. Aaiieeeee!

Mind you, you'll only notice the bug on 64-bit platforms and there's not a lot of 64 bit perl 5.8 or 5.6 around.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I'm runnung 64 bit perl 5.8.x .. I'm also running 5.10 on client's production servers so need to install it anyway I suppose

    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;
    • The bug is that I documented support for Q< and Q> to dump little- and big-endian 64-bit values. But the < and > suffixes only work in 5.10.0+. The easy fix, of course, would have been to fix the doco, but instead, I spent my lunchtime replacing pack() so the code now supports Q even on 32-bit perl, and supports < and > on Ye Olde Perle. Far more fun!