This document discusses several Perl modules:
- Time::Crontab parses crontab date and time fields. Proclet supports cron-like jobs.
- Apache::LogFormat::Compiler had issues with daylight saving time changes but version 0.14 and higher fixed this.
- POSIX::strftime::Compiler was created to avoid issues with locales affecting strftime outputs.
- Modules like Time::TZOffset, HTTP::Entity::Parser, WWW::Form::UrlEncoded, and WWW::Form::UrlEncoded::XS were created with performance improvements over existing solutions. Benchmark results showed the XS implementations having significantly better performance.
7. Apache::LogFormat::Compiler has a
problem. Twice a year the timezone is
changed because of daylight saving.
A::LF::C ignores this fact and still
shows old timezone after change.
https://github.com/kazeburo/Apache-LogFormat-Compiler/pull/3
dex4er
ALFC、DST(サマータイム)をサポートしてないよ!
10. I'm trying to install
Apache::LogFormat::Compiler on
Android. This system has poor
support for locales, so the Perl is
usually compiled with -Ui_locale flag.
https://github.com/kazeburo/Apache-LogFormat-Compiler/pull/6
dex4er
Andoroidがsetlocaleをサポートしてない!
16. Time::TZOffset
Show timezone offset strings like “+0900”
more portable than POSIX::strftime('%z') and fast
XSにてtm構造体のtm_gmtoffを取得するモジュール
gmtoffをサポートしていないOSでは
localtimeとgmtimeの差分を計算
17. HTTP::Entity::Parser
PSGI compliant HTTP Entity Parser
yet another HTTP::Body
based on tokuhirom's code. https://github.com/plack/Plack/pull/434
別のモジュールしてだれか進めて
18. use HTTP::Entity::Parser;
my $parser = HTTP::Entity::Parser->new;
$parser->register('application/x-www-form-urlencoded',
'HTTP::Entity::Parser::UrlEncoded');
$parser->register('multipart/form-data',
'HTTP::Entity::Parser::MultiPart');
$parser->register('application/json',
'HTTP::Entity::Parser::JSON');
sub app {
my $env = shift;
my ( $params, $uploads) = $parser->parse($env);
}