On Tue, 15 Jul 2003, Joshua Hoblitt wrote:

> > > 2. My option:
> > >   $day_of_month = <STDIN>;
> > >   $dt->set( day => $day_of_month )->truncate( to => 'day' );
> > >   print "Your day must be a number in the current month" if
> > > $dt->is_undef;
> >
> > See, most people won't _bother_ with the 3rd line in option 2!  They'll
> > just go ahead and use the data.
>
> How many check to see if it is DT::Infinite?

None of the parsing modules currently return that, and I'm not sure that
they should.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to