Moose Moose - It's the new camel #18

What if you want to change the date

package Time;

use Moose;
use Moose::Util::TypeConstraints;

use DateTime;

subtype 'DateTime'
    => as Object
    => where { $_->isa('DateTime') };
continued...
Copyright © 2007 Robert Boone