| 1 | use Test::More qw(no_plan); |
| 2 | use strict; |
| 3 | use warnings; |
| 4 | |
| 5 | use autobox::Core; |
| 6 | |
| 7 | SKIP: { |
| 8 | # XXX this and pack.t could use a counterpart that works on 5.8 but this is so utterly non-urgent -- sdw |
| 9 | skip "Only for 5.10", 1, if $] < 5.010; |
| 10 | is 'nN'->pack(42, 4711), pack('nN', 42, 4711); |
| 11 | is '(sl)<'->pack(-42, 4711), pack('(sl)<', -42, 4711); |
| 12 | }; |
| 13 | |
| 14 | ok(1); |