my $string = "start @{[$obj->middle()]} end";
If it's obvious how it works use it, otherwise beware that an axe wielding psychotic maintenance programmer that knows where you live may cause your life to be unhappy in the future.
In reply to Re: Is there a clever way to stringify a method?
by GrandFather
in thread Is there a clever way to interpolate a method?
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |