i at h2l
Nov 14, 2011, 2:19 AM
Post #4 of 4
Re: action whose name started with underscore
[In reply to]
Yes, I tried. And it is shown.
Got it. Thank you very much.
On Mon, Nov 14, 2011 at 6:17 PM, Tomas Doran <bobtfish [at] bobtfish> wrote:
> On 14 Nov 2011, at 08:20, Hu Hailin wrote:
>> I defined some actions in controller for inner forwarding purpose.
>> To make the purpose clearly, I named them starting an underscore.
> You explicitly made those actions private, so they didn't get shown.
> But generally, if it needs to be _that_ private - why make it an action at
> Why not just call $self->_private_method($c); ?
> List: Catalyst [at] lists
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
> Dev site: http://dev.catalyst.perl.org/
List: Catalyst [at] lists
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/