|Perl Monk, Perl Meditation|
Problem with around BUILDARGSby saintex (Scribe)
|on Mar 24, 2011 at 10:56 UTC||Need Help??|
saintex has asked for the
wisdom of the Perl Monks concerning the following question:
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?