<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail_default" style="font-family:&#39;trebuchet ms&#39;,sans-serif;color:rgb(0,0,102)">​Thank you so much for this, that makes a lot more sense now.​</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
</span>I’m not sure what you’re asking. Do you mean you want to get rid of the<br>
`sub { ... }` noise and just pass in “a method call”? If so, no, there<br>
is no way of doing that in Perl.<br></blockquote><div><div class="gmail_default" style="font-family:&#39;trebuchet ms&#39;,sans-serif;color:rgb(0,0,102)"><br></div><div class="gmail_default" style="font-family:&#39;trebuchet ms&#39;,sans-serif;color:rgb(0,0,102)">​My original question was not about passing the method call in per se, but the return value from that method call, but I see it would be a lot cleaner the way you have suggested.</div></div></div><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:&#39;trebuchet ms&#39;,sans-serif;color:rgb(0,0,102)">​Thanks again.​</div><br></div></div>