in reply to Type Constraints in Moose
It works exactly as posted for me (well, I did add a backslash to the first call to Dumper). I'm using Moose 0.40 here, what version are you using?
$VAR1 = [ 1, 2 ]; $VAR1 = bless( { 'somearray' => [ 1, 2 ] }, 'MyClass' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Type Constraints in Moose
by skirnir (Monk) on Apr 06, 2008 at 16:49 UTC | |
by FunkyMonk (Bishop) on Apr 06, 2008 at 23:26 UTC |