TC and undef
[email protected] (Ernesto)
| Newsgroups | perl.moose |
|---|---|
| Message-ID | <[email protected]> |
Hi, at $work I was looking for an OO frame work and found the excellent postmodern Moose stuff. I'm working on the migration of a partly object-based system with MySQL-Backend to a real object-based system. Playing with new types I realized a strange behaviour - or maybe I'm doing something wrong: Exporting TCs as functions, they behave as expected for an undefined value , but not when using them in an object. I wrote a little test - please check out: http://dienstleistung-kultur.de/moose/01_types_manuel.t.txt Xanx! Yours, Ernesto