Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove a prototype on ->new().

It is not meaningful for methods (including package methods) and see:

* http://perl-begin.org/tutorials/bad-elements/#prototypes

All current tests pass.
  • Loading branch information...
commit 750d9126df1fa6604d18eadc622d9a7b6f0274e0 1 parent 7d61e37
Shlomi Fish authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/SVG.pm
2  lib/SVG.pm
View
@@ -210,7 +210,7 @@ may also be set in xmlify, overriding any corresponding values set in the SVG->n
# the next tag object there.
# refer to the SVG::tag method
-sub new ($;@) {
+sub new {
my ($proto,%attrs) = @_;
my $class = ref $proto || $proto;
my $self;
Please sign in to comment.
Something went wrong with that request. Please try again.