Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

tokuhirom (7396)

  (email not shown publicly)

Journal of tokuhirom (7396)

Saturday November 04, 2006
10:12 AM

usage of sledge::view

[ #31510 ]

follow is an examle trigger code of Sledge::View.

package Your::Pages::Base;
use strict;
use warnings;
use base qw/Sledge::Pages::Compat/;
use Switch;
use Jcode;
use Sledge::Plugin::PluginLoader;
  qw/Stash View/
    AFTER_DISPATCH => sub {
        my $self = shift;
        switch ($self->r->param('output')) {
            case 'csv' {
                $self->response->body(Jcode->new($self->response->body, 'euc')->sjis);
            else {

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.