View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Marcus Ramberg > Maypole-View-Mason-0.3 > templates/factory/macros/maybe_link

Download:
Maypole-View-Mason-0.3.tar.gz

Annotate this POD

View/Report Bugs
Source  

maybe_link_view

maybe_link_view takes something returned from the database - either some ordinary data, or an object in a related class expanded by a has-a relationship. If it is an object, it constructs a link to the view command for that object. Otherwise, it just displays the data.

syntax highlighting: