be[DateTime]';
Thank-you very much! That works perfectly. I can now suck down my
guitar-hero stats into a Moose object. ;)
Cheerio,
Paul
--
Paul Fenwick | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia| Fax: +61 3 9354 2681
x27; failed with value undef (not isa
Maybe[DateTime]) at
/usr/lib/perl5/site_perl/5.10/Moose/Meta/Attribute.pm line 753
FWIW, the attribute in question looks like this:
has last_blog_post_at => ( isa => 'Maybe[DateTime]', coerce => 1 );
I'm using Moose 0.87.
A
Thanks to nothingmuch for assistance in the explanations.
---
lib/Moose/Manual/BestPractices.pod |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/Moose/Manual/BestPractices.pod
b/lib/Moose/Manual/BestPractices.pod
index 30c5673..9349718 100644
--- a/lib/Moose/Man
Paul
[1] Since I'm writing short talks for mixed audiences, I can't show anything
too scary. Sure, I'm willing to dig around in the guts of all sorts of
things, but I'm trying to dispel the myth that as a regular Perl programmer
you should have to.
--
Paul Fenwick | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia| Fax: +61 3 9354 2681
MooseX::Declare, both of which provide a shinier interface, and hence
suit my goals nicely.
Cheerio,
Paul
--
Paul Fenwick | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia| Fax: +61 3 9354 2681
e say this was one of the factors
preventing him from moving to Moose. :)
Cheerio,
Paul
--
Paul Fenwick <[EMAIL PROTECTED]> | http://perltraining.com.au/
Director of Training | Ph: +61 3 9354 6001
Perl Training Australia| Fax: +61 3 9354 2681