[Dancer-users] Dancer routes, Padre, function list
Nick Knutov
mail at knutov.com
Mon Aug 27 22:00:34 CEST 2012
Solved.
https://gist.github.com/3490726/
Any ideas about committing this to Padre are appreciated.
27.08.2012 23:36, Nick Knutov пишет:
> Hello all,
>
> I did a little patch, which should show Dancer routes in Padre's
> Function List. But I need some help ;)
>
> Dancer routes are shown with this patch, but nothing happens when I
> double click on it. Have no ideas why. Can somebody help with it?
>
>
> VirtualBox Perl # pwd
> /usr/local/share/perl/5.14.2/Padre/Document/Perl
>
> VirtualBox Perl # diff -c FunctionList.pm.orig FunctionList.pm
> *** FunctionList.pm.orig 2012-04-19 18:36:17.000000000 +0600
> --- FunctionList.pm 2012-08-27 23:29:45.068781182 +0600
> ***************
> *** 30,35 ****
> --- 30,38 ----
> |
> \* (\w+(?:::\w+)*) \s*=\s* (?: sub\b | \\\& )
> )
> + |
> + (?:^|$newline)\s*
> + (?:any|get|post|ajax|head)\s+[\'|\"](.+?)[\'|\"]\s*=>
> )
> }sx;
>
>
>
--
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130
More information about the Dancer-users
mailing list