in reply to
OO Simple THing
Two things:
Use parentheses ('
()
') instead of braces ('
{}
') around the function arguments.
Using
roundnum => 1
, you're passing a hash into the function. Call it like
new round(1)
.
Arjen
Comment on
Re: OO Simple THing
Select
or
Download
Code
In Section
Seekers of Perl Wisdom