I'm not sure I follow. I removed the EventRepository object out of the code just to try to simplify things:
my $ffm = FFMech->new; $ffm->gets('http://nyt.com');
This results in an error:
Can't use an undefined value as a HASH reference at /usr/local/share/p +erl/5.20.2/WWW/Mechanize/Firefox.pm line 804.
The gets() method in FFMech looks like this now:
sub gets { my $self = shift; my ($url, $sec, $syn) = set_args(@_); $self->get($url); sleep($sec); }
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
$nysus = $PM . $MCF;
Click here if you love Perl Monks
In reply to Re^2: Proper way to call subclass methods?
by nysus
in thread Proper way to call subclass methods?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |