X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Prototype-Util.git;a=blobdiff_plain;f=README;h=040b0e70e3f3bb7106b0f2a6a05434bd16ff4fbe;hp=04da32e0b5761ce7e981ac4be67ba05c0194be4a;hb=a3206d42a03b8e1e09b5f2bdddcbbfeca6ffe40f;hpb=67287c40fcc0edc123f77ea00d52e95c058b1a61 diff --git a/README b/README index 04da32e..040b0e7 100644 --- a/README +++ b/README @@ -2,12 +2,12 @@ NAME Sub::Prototype::Util - Prototype-related utility routines. VERSION - Version 0.09 + Version 0.10 SYNOPSIS - use Sub::Prototype::Util qw/flatten wrap recall/; + use Sub::Prototype::Util qw; - my @a = qw/a b c/; + my @a = qw; my @args = ( \@a, 1, { d => 2 }, undef, 3 ); my @flat = flatten '\@$;$', @args; # ('a', 'b', 'c', 1, { d => 2 }) @@ -54,7 +54,7 @@ FUNCTIONS "ref => $func" Specifies the function used in the generated code to test the reference type of scalars. Defaults to 'ref'. You may also want to - use "Scalar::Util::reftype". + use "reftype" in Scalar::Util. "wrong_ref => $code" The code executed when a reference of incorrect type is encountered. @@ -118,7 +118,7 @@ SUPPORT . COPYRIGHT & LICENSE - Copyright 2008-2009 Vincent Pit, all rights reserved. + Copyright 2008,2009,2010,2011 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.