DateTime-Format-Oracle reviews

RSS | Module Info

DateTime-Format-Oracle (0.05) *****

DBD::Oracle uses ENV also and it's the Oracle client "style". It's good module. Play nice together with DateTime::Format::Pg and DateTime::Format::MySQL to be used by DBIx::Class::Storage::DBI->datetime_parser and DBIx::Class::InflateColumn::DateTime.

DateTime-Format-Oracle (0.03) ***

Thanks for the package but using %ENV is just not the way I prefer to pass variables around. It would be nice if the interface where more like.

use DateTime::Format::Oracle;

my $dtfo=DateTime::Format::Oracle->new(

format=>'YYYY-MM-DD HH24:MI:SS');

my $dt = $dtfo->datetime('2003-01-16 23:12:01');

my $dt = $dtfo->dt('2003-01-16 23:12:01');

my $string = $dtfo->string($dt);

$dtfo->format('YYYY-MM-DD HH24:MI:SS'); #set format

my $format=$dtfo->format; #get format

Mike (mrdvt92)