From: Vincent Pit Date: Fri, 8 Aug 2008 22:38:36 +0000 (+0200) Subject: This is 0.03 X-Git-Tag: v0.03^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=6619a43e229405fbb631fad34260619c65f3637c;p=perl%2Fmodules%2FSub-Nary.git This is 0.03 --- diff --git a/Changes b/Changes index 46886ce..bb89962 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,21 @@ Revision history for Sub-Nary +0.03 2008-08-08 22:40 UTC + + Add : Support for grep and map. + + Add : More function ported to XS. + + Chg : Almost complete rewrite that makes the main logic way sanier. + Effectively, we now compute the return state and the last list + state for each op, recursively. Those two piece of information + are always returned by the inspect method. + + Chg : Incompatible change : from now, each branch of a test will + receive the same probability. This is needed in order to ensure + consistency between different syntaxes that gives the same logic + (for example, a literal if versus a function call that hides the + same if). Consider that each test has 50% of chance to succeed. + + Chg : List::Util is no longer required. + + Fix : returns in strange places will now usually be nicely handled. + + Tst : Even more of them. + 0.02 2008-08-05 16:20 UTC + Add : Support for matches, eval, keys, values, each readline, stat, localtime, gmtime, caller, get{pw,gr,host,net,proto,serv}*, diff --git a/META.yml b/META.yml index 755e66b..caf8399 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Sub-Nary -version: 0.02 +version: 0.03 abstract: Try to count how many elements a subroutine can return in list context. license: perl author: diff --git a/README b/README index 7300732..9828709 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ NAME list context. VERSION - Version 0.02 + Version 0.03 SYNOPSIS use Sub::Nary; diff --git a/lib/Sub/Nary.pm b/lib/Sub/Nary.pm index ee5fb64..b87eaef 100644 --- a/lib/Sub/Nary.pm +++ b/lib/Sub/Nary.pm @@ -15,13 +15,13 @@ Sub::Nary - Try to count how many elements a subroutine can return in list conte =head1 VERSION -Version 0.02 +Version 0.03 =cut our $VERSION; BEGIN { - $VERSION = '0.02'; + $VERSION = '0.03'; } =head1 SYNOPSIS