The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
NAME TheSchwartz::Simple - Lightweight TheSchwartz job dispatcher using plain DBI SYNOPSIS use DBI; use TheSchwartz::Simple; my $dbh = DBI->connect(...); my $client = TheSchwartz::Simple->new([ $dbh ]); $client->prefix("theschwartz_"); # optional my $job_id = $client->insert('funcname', $arg); my $job = TheSchwartz::Simple::Job->new; $job->funcname("WorkerName"); $job->arg({ foo => "bar" }); $job-
Added DBIx::MoCo::Fixture by naoya Added session_cache method for obtaining session cache hash ref. Fixed a bug in flush_has_many_keys (deleting session cache) Added info to sql error messages (by naoya) Fixed DateTime problem with null columns (by naoya) Added scalar method to force scalar context from TT etc. (by naoya) Updated documents. (by kentaro)
NAME Catalyst::Model::Adaptor - use a plain class as a Catalyst model SYNOPSIS Given a good old perl class like: package NotMyApp::SomeClass; use Moose; # to provide "new" sub method { 'yay' } Wrap it with a Catalyst model: package MyApp::Model::SomeClass; use base 'Catalyst::Model::Adaptor'; __PACKAGE__->config( class => 'NotMyApp::SomeClass' ); Then you can use NotMyApp::SomeClass from your Cata
NAME Catalyst::Controller::Resources - Catalyst Collection Resources Controller SYNOPSIS MAP RESOURCES package MyApp::Controller::Articles; use base 'Catalyst::Controller::Resources'; # GET /articles sub list { my ($self, $c) = @_; } # POST /articles sub create { my ($self, $c) = @_; } # GET /articles/{article_id} sub show { my ($self, $c, $article_id) = @_; } # PUT /articles/{article_id} sub upda
NAME DBD::Gofer - A stateless-proxy driver for communicating with a remote DBI SYNOPSIS use DBI; $original_dsn = "dbi:..."; # your original DBI Data Source Name $dbh = DBI->connect("dbi:Gofer:transport=$transport;...;dsn=$original_dsn", $user, $passwd, \%attributes); ... use $dbh as if it was connected to $original_dsn ... The transport=$transport part specifies the name of the module to use to tr
NAME Template::Stash::ForceUTF8 - Force UTF-8 (Unicode) flag on stash variables SYNOPSIS use Template::Stash::ForceUTF8; use Template; my $tt = Template->new( LOAD_TEMPLATES => [ Template::Provider::Encoding->new ], STASH => Template::Stash::ForceUTF8->new, ); my $vars; $vars->{foo} = "\x{5bae}\x{5ddd}"; # Unicode flagged $vars->{bar} = "\xe5\xae\xae\xe5\xb7\x9d"; # UTF-8 bytes $tt->process($templ
NAME Rose::DB - A DBI wrapper and abstraction layer. SYNOPSIS package My::DB; use Rose::DB; our @ISA = qw(Rose::DB); My::DB->register_db( domain => 'development', type => 'main', driver => 'Pg', database => 'dev_db', host => 'localhost', username => 'devuser', password => 'mysecret', server_time_zone => 'UTC', ); My::DB->register_db( domain => 'production', type => 'main', driver => 'Pg', database
NAME Catalyst::Plugin::PageCache - Cache the output of entire pages SYNOPSIS use Catalyst; MyApp->setup( qw/Cache::FileCache PageCache/ ); __PACKAGE__->config( 'Plugin::PageCache' => { expires => 300, set_http_headers => 1, auto_cache => [ '/view/.*', '/list', ], debug => 1, # Optionally, a cache hook method to be called prior to dispatch to # determine if the page should be cached. This is called
NAME Shell::Perl - A read-eval-print loop in Perl SYNOPSYS use Shell::Perl; Shell::Perl->run_with_args; DESCRIPTION This is the implementation of a command-line interpreter for Perl. I wrote this because I was tired of using irb when needing a calculator with a real language within. Ah, that and because it was damn easy to write it. This module is the heart of the pirl script provided with Shell-P
NAME encoding::warnings - Warn on implicit encoding conversions VERSION This document describes version 0.11 of encoding::warnings, released June 5, 2007. SYNOPSIS use encoding::warnings; # or 'FATAL' to raise fatal exceptions utf8::encode($a = chr(20000)); # a byte-string (raw bytes) $b = chr(20000); # a unicode-string (wide characters) # "Bytes implicitly upgraded into wide characters as iso-885
NAME autobox - call methods on native types SYNOPSIS use autobox; # integers my $range = 10->to(1); # [ 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 ] # floats my $error = 3.1415927->minus(22/7)->abs(); # strings my @list = 'SELECT * FROM foo'->list(); my $greeting = "Hello, world!"->upper(); # "HELLO, WORLD!" $greeting->for_each(\&character_handler); # arrays and array refs my $schwartzian = @_->map(...)->sort(
NAME Devel::Cover - Code coverage metrics for Perl VERSION version 1.42 SYNOPSIS To get coverage for an uninstalled module: cover -test or cover -delete HARNESS_PERL_SWITCHES=-MDevel::Cover make test cover or if you are using dzil (Dist::Zilla) and have installed Dist::Zilla::App::Command::cover: dzil cover To get coverage for an uninstalled module which uses Module::Build (0.26 or later): ./Build
NAME Class::DBI::Plugin::AsFdat - cdbi meets fillinform SYNOPSIS package Music::CD; use base qw/Class::DBI/; use Class::DBI::Plugin::AsFdat; package main; use HTML::FillInForm; my $cd = Music::CD->retrieve_all->first; my $fif = HTML::FillInForm->new; $fif->fill(scalarref => \$html, fdat => $cd->as_fdat); DESCRIPTION Class::DBI::Plugin::AsFdat is easy to convert CDBI object to fdat. `fdat' is data
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く