in reply to two problems about passing var between classes

sub pass{ my ( $problem1 )= @_; # <-- Your mistake is here print "$problem1\n"; }
First value passed to pass() is a reference to $obj.
The following will work.
sub pass{ my ( $self, $problem1 )= @_; print "$problem1\n"; }


--perlplexer