]> git.vpit.fr Git - perl/modules/Sub-Prototype-Util.git/blobdiff - lib/Sub/Prototype/Util.pm
Bump copyright year
[perl/modules/Sub-Prototype-Util.git] / lib / Sub / Prototype / Util.pm
index 9137b14305de711ad0ef02536917e81362f42e9b..d52b905f8c8370fad0e2b7f218952da99b52e30f 100644 (file)
@@ -77,7 +77,7 @@ It croaks if the arguments can't possibly match the required prototype, e.g. whe
 sub flatten {
  my $proto = shift;
  return @_ unless defined $proto;
- my @args; 
+ my @args;
  while ($proto =~ /(\\?)(\[[^\]]+\]|[^\];])/g) {
   my $p = $2;
   if ($1) {
@@ -165,7 +165,7 @@ sub _wrap {
   my $cur = '$_[' . $i . ']';
   if ($ref) {
    if (length $p > 1) {
-    return 'my $r = ' . $opts->{ref} . '(' . $cur . '); ' 
+    return 'my $r = ' . $opts->{ref} . '(' . $cur . '); '
            . join ' els',
               map( {
                "if (\$r eq '" . $reftypes{$_} ."') { "
@@ -310,7 +310,7 @@ Tests code coverage report is available at L<http://www.profvince.com/perl/cover
 
 =head1 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.