in reply to Simple OO Question
That's not what I get:
>perl -w tmp.pl Use of uninitialized value in print at tmp.pl line 25. me
That is because in ->Show_Me, you're calling _Print_me while you should be calling ->_Print_Me instead:
sub Show_Me { my ($self) = @_; return $self->_Print_Me(); # <-- }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Simple OO Question
by DStaal (Chaplain) on Sep 16, 2010 at 13:02 UTC | |
by dsheroh (Monsignor) on Sep 16, 2010 at 13:21 UTC |