X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FFunction%2FParameters.pm;h=0f89fc29603d3a04a0ff1a238c91d5acea0a8966;hb=3746f91712a43dd4dde6e338f902ceb5ad0c7ad4;hp=577fd68188e234dbd6d818d89b4592ae94553be0;hpb=e7c6de2cbea5feab6bb571d597714ef7e1fac080;p=p5sagit%2FFunction-Parameters.git diff --git a/lib/Function/Parameters.pm b/lib/Function/Parameters.pm index 577fd68..0f89fc2 100644 --- a/lib/Function/Parameters.pm +++ b/lib/Function/Parameters.pm @@ -7,7 +7,7 @@ use Carp qw(confess); use XSLoader; BEGIN { - our $VERSION = '1.0104'; + our $VERSION = '1.0201'; XSLoader::load; } @@ -515,7 +515,7 @@ exchange the order of the arguments doesn't matter anymore. As with hash initialization, you can specify the same key multiple times and the last occurrence wins: - rectangle(height => 1, width => 2, height => 2, height => 5; + rectangle(height => 1, width => 2, height => 2, height => 5); # same as: rectangle(width => 2, height => 5); You can combine positional and named parameters as long as the positional