Think about Loose Coupling | |
PerlMonks |
Problem with around BUILDARGSby saintex (Scribe) |
on Mar 24, 2011 at 10:56 UTC ( [id://895225]=perlquestion: print w/replies, xml ) | Need Help?? |
saintex has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I would like to extends a package in order to have some default values. The module I would like to extend is WWW::Selenium . I would like to extend the package in my code, just to have some defualt values. Ususally you call WWW::Selenium like this: I would like to call it just with new, without args: So I tried to write an extension:
But it doesn't work. Without arguments I have an error. Where I'm wrong?
Back to
Seekers of Perl Wisdom
|
|