kraih/mojo — pull request #574 by nyamned (2013-12-24 04:47:47+00:00)
Title: Do not overwrite matchvars

Mojolicious::Controller::AUTOLOAD overwrites matchvars, when passed as argument.
```perl
use Mojolicious::Lite;

helper foo => sub {
shift->render(text => "args: $_[0], $_[1]\n");
};

get '/' => sub {
"bar baz" =~ /(\w+) (\w+)/;
shift->foo($1, $2);
};

app->start;
```

output:
```
Content-Length: 35
Content-Type: text/html;charset=UTF-8
Status: 200 OK
Date: Tue, 24 Dec 2013 04:45:53 GMT

args: Mojolicious::Controller, foo
```