Is there a way to do the following directly?
$this->{_codestring} = 'sub{ return "Don\'t think so"; }'; $this->makeMethod(); #1) my $floop = $this->callMethod(); #2)
So, can de coderef directly be adressed as if it's a method of the $this object ?
In reply to on the fly methods by Ojosh!ro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |