X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FFunction%2FParameters.pm;h=99aef48c20998b62b3f210a828b786ae04b8f320;hb=849229d43fa75a8cef39fbdfc7bb9084ea7653d0;hp=577fd68188e234dbd6d818d89b4592ae94553be0;hpb=aa896d52fa1d368643e706e1965f062ac63b6bdd;p=p5sagit%2FFunction-Parameters.git diff --git a/lib/Function/Parameters.pm b/lib/Function/Parameters.pm index 577fd68..99aef48 100644 --- a/lib/Function/Parameters.pm +++ b/lib/Function/Parameters.pm @@ -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