Posted on 2007-01-26 15:24:40-08 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
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.