{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"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","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":[]}}
