It should be pretty straightforward. Take a look for example: https://github.com/dpetrov/formhandler-example/blob/master/lib/MyApp/View/TT.pm which defines a vmethod and here is example usage: https://github.com/dpetrov/formhandler-example/blob/master/root/bookdb/book/list.tt .
I think there wewe some examples in the Catalyst Advent calendar as well www.catalystframework.org/calendar/. Cheers, Dimitar On Thu, Feb 14, 2013 at 4:55 PM, Kevin Monceaux <[email protected]>wrote: > Does anyone have any examples of how to create view helpers? For example, > if I wanted to create a few Rails like HTML helpers, or Django like custom > template tags or filters: > > https://Docs.DjangoProject.com/en/1.4/howto/custom-template-tags/ > > > > -- > > Kevin > http://www.RawFedDogs.net > http://Lassie.RawFedDogs.net > http://www.WacoAgilityGroup.org > Bruceville, TX > > What's the definition of a legacy system? One that works! > Errare humanum est, ignoscere caninum. > > _______________________________________________ > 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/ >
_______________________________________________ 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/
