![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Surviving 'Illegal division by zero'by dragonchild (Archbishop) |
on Jun 24, 2004 at 12:08 UTC ( #369303=note: print w/replies, xml ) | Need Help?? |
What about the following syntactic sugar?
That would allow the following modification:
I only propose it because most constructors also allow for values to be passed in, which keeps to the Principle of Least Surprise. ------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose I shouldn't have to say this, but any code, unless otherwise stated, is untested
In Section
Seekers of Perl Wisdom
|
|