<div dir="ltr"><div><div><div><div><div><br></div>A common Perl newbie error is to try to use an object accessor method in an interpolative context and expect to get the value, like so<br><br></div>     DEBUG and print "the blurf field is $self->blurf\n";<br>
<br></div>which (of course) doesn't work, because blurf is a method call, not a syncactic container access like $self->{blurf}.<br><br></div>An extension to Perl that would allow that to work would have to hook back<br>
into the interpolation process.<br><br></div>Anyone for tinkering under perl's hood towards defining a package attribute<br>that would indicate that method syntax interpolates?<br><div><div><div><div><div><br><br clear="all">
<br>-- <br><div dir="ltr"><pre style="color:rgb(0,0,0)"><span style="font-family:courier new,monospace"><font>"Sing, cuckoo, sing.</font><br><font>Death is a-comin' in.</font><br><font>Sing, cuckoo, sing.</font><br>
<font>Death is a-comin' in" -- Tuli Kupferberg</font></span></pre></div>
</div></div></div></div></div></div>