mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-28 01:11:14 +01:00
perl: make test code more simple
This commit is contained in:
parent
9346908485
commit
f2d13cd647
@ -10,13 +10,9 @@ sub import {
|
|||||||
warnings->import;
|
warnings->import;
|
||||||
|
|
||||||
no strict 'refs';
|
no strict 'refs';
|
||||||
*{"$pkg\::true"} = sub () {
|
*{"$pkg\::true"} = \&Data::MessagePack::true;
|
||||||
Data::MessagePack::true()
|
*{"$pkg\::false"} = \&Data::MessagePack::false;
|
||||||
};
|
*{"$pkg\::null"} = sub() { undef };
|
||||||
*{"$pkg\::false"} = sub () {
|
|
||||||
Data::MessagePack::false()
|
|
||||||
};
|
|
||||||
*{"$pkg\::null"} = sub() { undef };
|
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user