perl-Types-Serialiser/SOURCES/Types-Serialiser-1.01-provi...

13 lines
396 B
Diff

--- Serialiser.pm
+++ Serialiser.pm
@@ -112,7 +112,8 @@ Returns false iff C<$value> is C<$Types:
BEGIN {
# for historical reasons, and to avoid extra dependencies in JSON::PP,
# we alias *Types::Serialiser::Boolean with JSON::PP::Boolean.
- package JSON::PP::Boolean;
+ package # hide from rpm
+ JSON::PP::Boolean;
*Types::Serialiser::Boolean:: = *JSON::PP::Boolean::;
}