[Kc] thinking about interpolation of accessors

David Nicol davidnicol at gmail.com
Thu Feb 20 15:58:44 PST 2014


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.


On Thu, Feb 20, 2014 at 4:02 PM, Sterling Hanenkamp
<sterling at hanenkamp.com>wrote:

> I have been known to use this:
>
> "the blurf field is @{[$self->blurf]}\n"
>
> It's ugly and wouldn't be something I use in production, but it does the
> job when I'm in hurry.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/kc/attachments/20140220/ba315f80/attachment.html>


More information about the kc mailing list