I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
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