{"schema_version":1,"metadata":{"branch":"current","release":"8.0","architecture":"amd64","generated_at":"2026-10-21T02:36:06.049247+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"a9ce8ec55a8fe364fc54ad95f17013a9932c665a6e50e55f31cee56f1d69cccc","package_count":12123,"source_kind":"sqlports"},"package":{"name":"p5-Catalyst-View-TT-FunctionGenerator-0.02p0","path":"textproc/p5-Catalyst-View-TT-FunctionGenerator","url":"/packages/current/textproc/p5-Catalyst-View-TT-FunctionGenerator/","comment":"use shorter names in catalyst tt views (deprecated)","homepage":"https://metacpan.org/release/Catalyst-View-TT-FunctionGenerator","maintainer":"The OpenBSD ports mailing-list <ports@openbsd.org>","description":"This plugin should usually be invoked from an end action in your Application.\n\nCall generate_functions to create the code references shortcuts to the\nmethods used in the template toolkit view.\n\nThen enjoy the shorter syntax.\n\nFor instance:\n\nsub action : Local {\n    my ( $self, $c ) = @_;\n\n    $c->view(\"ViewName\")->generate_functions('prototype');\n    # OR\n    $c->view(\"ViewName\")->generate_functions($c->prototype);\n    # OR\n    $c->view(\"ViewName\")->generate_functions([$c, 'uri_for']);\n\n}\n\n# In your template, we can now have:\n[% link_to_remote(\"foo\", { url => uri_for(\"blah\")  } ) %]\n\n# instead of saying this:\n[% c.prototype.link_to_remote(\"foo\", { url => c.uri_for(\"blah\")  } ) %]\n","description_source":null,"description_unresolved":[],"package_architecture":"*","stem":"p5-Catalyst-View-TT-FunctionGenerator","readme":null,"dependencies":[{"path":"textproc/p5-Catalyst-View-TT","type":"runtime","package_spec":"","url":"/packages/current/textproc/p5-Catalyst-View-TT/"},{"path":"www/p5-Catalyst-Plugin-Singleton","type":"runtime","package_spec":"","url":"/packages/current/www/p5-Catalyst-Plugin-Singleton/"},{"path":"devel/p5-MRO-Compat","type":"runtime","package_spec":"","url":"/packages/current/devel/p5-MRO-Compat/"},{"path":"textproc/p5-Catalyst-View-TT","type":"test","package_spec":"","url":"/packages/current/textproc/p5-Catalyst-View-TT/"},{"path":"www/p5-Catalyst-Plugin-Singleton","type":"test","package_spec":"","url":"/packages/current/www/p5-Catalyst-Plugin-Singleton/"},{"path":"devel/p5-MRO-Compat","type":"test","package_spec":"","url":"/packages/current/devel/p5-MRO-Compat/"}],"reverse_dependencies":{"count":0,"url":null},"categories":["textproc","devel","perl5"],"flavors":[],"only_for_architectures":[],"not_for_architectures":[]}}
