On Fri, 20 Feb 2009, Timothy S. Nelson wrote:

+role   Temporal::DateTime {
+        has Temporal::Date $!date handles <year month day day-of-week>;

Can't do this, I think; this would require an instance of Temporal::Date, which is a role and can't be instantiated. That's why I was using "does" instead. I don't know what the alternative is, but I'll leave that to you :).

        Ok, I'm wrong here; sorry :).


---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: wayl...@wayland.id.au    | I am                           |
---------------------------------------------------------------------

----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----

Reply via email to