On 8/15/07, Nguyen Vu Hung <[EMAIL PROTECTED]> wrote: > In the code below, the class XXX:YYY3 inherits Net::Cmd, > IO::Socket::Inet, create an object $obj with the SUPER keyword. > > As far as I know, this code works well under Apache 1.3, Perl 5.6, > mod_perl 1.3. > > But in current environment which consists Apache 2.0.52, Perl 5.8, > mod_perl 2.0.3, $obj becomes undefined (!!) after it is called with SUPER.
I don't think this is related to SUPER, since mod_perl doesn't affect that. You can confirm this by hard-coding the name of the superclass instead of the word SUPER, e.g. $obj = $type->IO::Socket::INET::new( ...etc... - Perrin