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: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/