| CPAN Ratings (Gamma) DateTime-Format-Oracle reviews | |
| Home | Search | About | Login |
RSS | Module Info | Add a review of DateTime-Format-Oracle
1 out of 1 found this review helpful:
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-14 04:26:21
Was this review helpful to you?
Yes
No
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-04 20:28:04
Was this review helpful to you?
Yes
No
|
|
|