in reply to Is there a clever way to interpolate a method?
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.
|
|---|