DateTime-Format-Oracle reviews

cpanratings
 

RSS | Module Info | Add a review of DateTime-Format-Oracle

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.

Jozef Kutej - 2008-06-14T04:26:21 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

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

Thanks,
Mike (mrdvt92)

Michael R. Davis - 2008-02-04T20:28:04 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No