Thanks.
What I was really more curious about is how idiomatic the construct is. I think it's perfect for simple delegation, like this:
sub find_text { return shift->text_control->search_for(@_) }where you have one object containing another and you wish to delegate certain responsibilities to the contained object.
In reply to Re^2: One line accessor method style.
by Anonymous Monk
in thread One line accessor method style.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |