* Joe Landman <[EMAIL PROTECTED]> [2008-01-06 00:55]:
> I want to forward to some private actions to simplify the
> application (and avoid repeating myself).
FWIW, if you use Chained, you will need many fewer explicit
`forward`s than with other dispatch types.
> So in reading the manual, I thought I was supposed to do
>
> $c->forward('MyApp::Root::do_something');
>
> and not
>
> $c->forward('/do_something');
Where does it imply that? That would have to be corrected.
> The latter works, the former does not. Is this intended? Are
> both supposed to work?
Yes. No.
> Should I avoid that practice with Catalyst? Just name them
> INTERNAL_METHOD_do_something or something like that?
If you they are actions you forward to, they are not private
methods really, are they?
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
_______________________________________________
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/