Catalyst Texmate bundle
Posted by victori
Categories: web development catalyst perl
Catalyst Texmate bundle's RSS feed
[2] comments
This is my Catalyst Textmate bundle. It features snippet shortcuts that should make you a more productive Catalyst developer. Happy coding.
Catalyst/trunk/misc/textmate_bundle/
Use SVN to grab it.
So what can you do with it?
|
Snippet Command |
Output |
|---|---|
|
csub |
default Catalyst controller method. |
|
body |
$c->res->body() |
|
forward |
$c->forward() |
|
param |
$c->req->params->{} |
|
stash |
$c->stash->{} |
|
tmpl |
$c->stash->{template} = '' |
|
flash |
$c->flash->{} |
|
headers |
$c->req->headers->{} |
|
model |
$c->model('::')->. |
victori
Postedtesting
Diego
PostedNice!, I did a little change into csub to get also the POD head.
== ${1:Method_Name}
${2:Method_Help}
=cut
sub ${1} : ${3:Local} {
my ( \$self, \$c ) = \@_;
${0}
}