If you're tired of removing and adding this all the time, you
can easily add a condition. For example:
- die "Testing" if $c->param->{dump_info};
+ die "Testing" if $c->params->{dump_info};
=head2 Disable statistics
for my $field ( $c->req->upload ) {
+ my $upload = $c->req->upload($field);
my $filename = $upload->filename;
my $target = "/tmp/upload/$filename";