One of Critic's tests causes a "Subroutine name is a homonym for
builtin keyword" whenever it encounters "sub default" since "default"
is now a perl keyword thanks to the new-ish given/when switch
construct. I think the same applies to "sub index".
One solution is to use,
sub default : Path { ## no critic (ProhibitBuiltinHomonyms)
Is there another non-keyword sub Catalistas recommend? Or one being considered?
Paul
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/