[Catalyst] Re: Catalyst actions

Chisel Wright chisel at herlpacker.co.uk
Fri May 18 11:30:31 GMT 2007


On Thu, May 17, 2007 at 10:29:26PM +0100, Matt S Trout wrote:
> On Thu, May 17, 2007 at 10:59:09PM +0400, Oleg Pronin wrote:
> > Use
> > 
> > sub index : Private {
> >    #search code
> > }
> 
> Please don't, index is a nasty hack.
> 
> sub base :Path :Args(0)

Maybe Catalyst could emit something via ->log when there's a far better
way to do something?

Maybe even a -SuggestImprovement flag or something. I dunno ... it just
seems that I take my eye of the ball for a second and the way I learned
to do $something is old hat, frowned on, or wrong.

Chisel
-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  The following sentence is true.
  The previous sentence is false.



More information about the Catalyst mailing list