Subject: | super(@args) should warn! |
Doing a Moose class today, I wondered whether:
override blah => sub {
my $self = shift;
my $arg = shift;
super($arg * 2);
};
would properly warn. It didn't. :(
(recall that super() automatically passes @_ to your super-method for you, so arguments to
super() are ignored)