​Thank you so much for this, that makes a lot more sense now.​

>
> I’m not sure what you’re asking. Do you mean you want to get rid of the
> `sub { ... }` noise and just pass in “a method call”? If so, no, there
> is no way of doing that in Perl.
>

​My original question was not about passing the method call in per se, but
the return value from that method call, but I see it would be a lot cleaner
the way you have suggested.

​Thanks again.​
_______________________________________________
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/

Reply via email to