sukria/Dancer — Issue #742: megasplat and named tokens do not work together.
Author: ambs
Created: 2012-02-11 16:18:32+00:00
State: open

Was trying to write this:

```
get '/get/:type/**' => sub {
```

but then,

```
[8675] core @0.000794> [hit #1]trying to match `/get/foo/pictures/1134-1280x1024.jpg' against /^\/view\/(?#megasplat)([^
]+)\/(?#splat)([^\/]+)$/ in /Library/Perl/5.12/Dancer/Route.pm l. 84
[8675] core @0.000999> [hit #1]trying to match `/get/foo/pictures/1134-1280x1024.jpg' against /^\/get\/([^\/]+)\/(?#megasplat)([^
]+)$/ in /Library/Perl/5.12/Dancer/Route.pm l. 84
Use of uninitialized value within @splat_or_megasplat in pattern match (m//) at /Library/Perl/5.12/Dancer/Route.pm line 96, line 16.
```