in reply to Re: Cannot overload ++ when the object is accessed via Attribute -> Tie -> Class
in thread Cannot overload ++ when the object is accessed via Attribute -> Tie -> Class
Reply for the side note: the function being anonymous was just temporary. Since there is a solution now, the function has the right to have a name :)
Finally, thanks for the CPAN alternatives.
My motive in developing this module is to play with Attributes.
Oguz
---------------------------------
life is ...
$mutation = sub { $_[0] =~ s/(.)/rand()<0.1?1-$1:$1/ge };
|
|---|