Muttley Meen wrote:
Hi!
Hello,
$a = Package1::new(); $a->Package2->Create(); # this should call IncErr too print "ERR1: $a->{err}\n"; # should print 1 doent't work as I expected. Is there something wrong with the way I `bless`-ed the class Package2 ?
use strict, warnings, and most important: use base And don;t use $a or $b as variable names, oi :) Damian Conway's "Perl Best Practice" will make your life much easier! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>