Object-InsideOut - Extra parameter in new constructor

Posted on Fri Jan 26 17:24:40 2007 by gaetan
Extra parameter in new constructor
Hello all
If I execute the following program
package Foo; use strict; use warnings; use Object::InsideOut; my @attr :Field ; package main; my $obj = Foo->new('forbidden_attribute' => 'is accepted'); print $obj; 1;
No exception is raised
I didn't find any information about the correct behavior in the POD documentation
Could the OIO module raise an exception in such a situation ?
Thanks
Gaetan
Direct Responses: 4172 | Write a response