Joel Bernstein wrote: > On 5 Mar 2010, at 13:37, Emmanuel Quevillon wrote: >> By the way, I use a self coded 'new' method to create my object. >> Would it be the problem? > > Yes. But you omitted the code that doesn't work, so... Good luck! > > /joel
oops sorry, sub new { my($class, %args) = @_; my $self = $class->SUPER::new(%args); $self->_init(%args); $self->_build_types(%args); return $self; } Later in the code is try $self->so_type(), nothing is returned... -- ------------------------- Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_ pasteur dot fr -------------------------