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

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.
  • Your post got me thinking...

    In my File::SAUCE module [cpan.org] I have a pack template. A test on a solaris machine [perl.org] was giving me messages like this:

    t/20-read.........#     Failed test (t/20-read.t at line 65)
    #          got: '256'
    #     expected: '1'

    I was using 'S' in my template. So, on my win32 box, i plug in 'n' just to see what it would do. It was giving me the same errors as above.

    So, as per perl-port [perldoc.com], i now do an endian-ness check and use 'n' or 'S' when needed.

    I think I'm closer to having my tests pass! Thanks!