File: 22_pid_pack_unpack.t

package info (click to toggle)
libdata-messagepack-perl 1.02-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,060 kB
  • sloc: ansic: 5,697; perl: 1,123; makefile: 10
file content (12 lines) | stat: -rwxr-xr-x 222 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
#!perl

use strict;
use warnings;

use Test::More tests => 1;
use Data::MessagePack;

my $mp = Data::MessagePack->new();
is( $mp->unpack($mp->pack($$)), $$, 'pack then unpack of $$ returns same number' );

done_testing();