This should also work.
my $string = qq{start @{ [ $obj->middle() ] } end};
Cheers,
JohnGG
In reply to Re: Is there a clever way to stringify a method?
by johngg
in thread Is there a clever way to interpolate a method?
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |