2010-10-08から1日間の記事一覧

localtimeとgmtime

いまさらすぎ感たっぷりだけど調べてみた。 perldoc -f time time Returns the number of non-leap seconds since whatever time the system considers to be the epoch, suitable for feeding to "gmtime" and "localtime". On most systems the epoch is 0…

FormValidator::Simple

はじめて使ってみた(正確にはラッパーは使ったことはあるけども)。最初の見た目がゴツかったが使ってみれば便利〜。 use FormValidator::Simple; my $params = +{ param1 => '12345', param2 => 'abcdefg', param3 => undef, mail1 => 'test@example.com',…