do not recomment importing everything from Moose::Util::TypeConstraints
[p5sagit/JSON-MaybeXS.git] / lib / JSON / MaybeXS.pm
index a9ef9de..65702d2 100644 (file)
@@ -241,7 +241,7 @@ constant described above, as so:
 
 Alternatively, you can use duck typing:
 
-    use Moose::Util::TypeConstraints;
+    use Moose::Util::TypeConstraints 'duck_type';
     is 'json' => ( isa => Object , duck_type([qw/ encode decode /]));
 
 =head1 AUTHOR