in reply to on the fly methods
Do you have to create your methods on the fly? There could be better ways. Cheers.$this->{_coderef} = sub{ return "Don\'t think so"; }; ## ... and later: printf "%s\n", $this->{_coderef}->();
Update: Changed "_codestring" to "_coderef"
|
|---|