Hatena::Groupcatalyst

LAPISLAZULI HILL#Catalyst このページをアンテナに追加 RSSフィード

2006-10-20

[][]Catalyst::Plugin::Dumper Catalyst::Plugin::Dumper - LAPISLAZULI HILL#Catalyst を含むブックマーク はてなブックマーク - Catalyst::Plugin::Dumper - LAPISLAZULI HILL#Catalyst Catalyst::Plugin::Dumper - LAPISLAZULI HILL#Catalyst のブックマークコメント

Data::Dumperをlogで使えるようにするPlugin.

sub dump : Local {
    my ( $self, $c ) = @_;
    $c->log->dumper($c->config);
}

結果

…
[debug] $VAR1 = {
          'home' => '/usr/hoge/src/cat_bookmark',
          'name' => 'cat_bookmark',
          'root' => bless( {
                             'dirs' => [
                                         '',
                                         'usr',
                                         'hoge',
                                         'src',
                                         'cat_bookmark',
                                         'root'
                                       ],
                             'file_spec_class' => undef,
                             'volume' => ''
                           }, 'Path::Class::Dir' ),
          'static' => {
                        'debug' => 1,
                        'dirs' => [],
                        'ignore_dirs' => [],
                        'ignore_extensions' => [
                                                 'tmpl',
                                                 'tt',
                                                 'tt2',
                                                 'html',
                                                 'xhtml'
                                               ],
                        'include_path' => [
                                            $VAR1->{'root'}
                                          ],
                        'mime_types' => {},
                        'no_logs' => 1
                      }
        };
…

KaleighKaleigh2011/12/28 01:06I'll try to put this to good use immdeaitely.

asdavmipkasdavmipk2011/12/28 19:14CUR51Z <a href="http://cmfhakxhwowh.com/">cmfhakxhwowh</a>

rpcgyffrpcgyff2011/12/29 00:01FmHOZM , [url=http://xdxektqnavrv.com/]xdxektqnavrv[/url], [link=http://gquxeswsqedq.com/]gquxeswsqedq[/link], http://dsgcjfywgkex.com/

wplkqwwbpodwplkqwwbpod2011/12/29 19:215JYuva <a href="http://loqjhtzlusvw.com/">loqjhtzlusvw</a>

uhlumfauhlumfa2011/12/31 02:29qY29m5 , [url=http://exdpyptnphsw.com/]exdpyptnphsw[/url], [link=http://mnqlvcxwelpo.com/]mnqlvcxwelpo[/link], http://zzoveuapbgij.com/

トラックバック - http://catalyst.g.hatena.ne.jp/lapis25/20061020