タグ

ブックマーク / cle.sk (1)

  • Catalyst tricks

    Short intro to Catalyst Catalyst = MVC web framework in Catalyst everything = $c $c->model() - use base 'Catalyst::Model'; $c->view() - use base 'Catalyst::View'; $c->controller() - use base 'Catalyst::Controller'; elegant way to have a tool organized $c methods build-in $c->config->{} - hash ref of configuration variables $c->stash->{} - hash ref of temporary (per request) variables $c->uri_for('

  • 1