<div dir="ltr">Maybe. Perl 6 does this by turning any { ... } into an eval interpolated into the string. That might be cool to see implemented. I've never tried hacking Perl internals, though.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 5:58 PM, David Nicol <span dir="ltr"><<a href="mailto:davidnicol@gmail.com" target="_blank">davidnicol@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">yeah, me too, and that's what I recommended. That or assignment to a local scalar prior to the interpolation. Would a Perl 5.22 that allows properly configured objects to have their method calls interpolate be worth the trouble? That's the question.<div class="">
<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 4:02 PM, Sterling Hanenkamp <span dir="ltr"><<a href="mailto:sterling@hanenkamp.com" target="_blank">sterling@hanenkamp.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have been known to use this:<div><br></div><div>"the blurf field is @{[$self->blurf]}\n"</div>

<div><br></div><div>It's ugly and wouldn't be something I use in production, but it does the job when I'm in hurry.</div>
</div></blockquote></div></div></div></div>
<br>_______________________________________________<br>
kc mailing list<br>
<a href="mailto:kc@pm.org">kc@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/kc" target="_blank">http://mail.pm.org/mailman/listinfo/kc</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Andrew Sterling Hanenkamp<br><a href="mailto:sterling@hanenkamp.com">sterling@hanenkamp.com</a><br>
785.370.4454
</div>