<?xml version="1.0" encoding="windows-1252"?>
<node id="929703" title="Re: Brief OO question" created="2011-10-04 22:51:54" updated="2011-10-04 22:51:54">
<type id="11">
note</type>
<author id="901898">
armstd</author>
<data>
<field name="doctext">
&lt;p&gt;Not in my opinion, but I rarely do it.  My main considerations for doing so are maintainability and performance.  If it's a trivial method called often, I'll definitely consider using $_[0] instead of assigning $self first, like your example.
&lt;/p&gt;
&lt;p&gt;If it's a method that does considerable or complicated things to "$self", or isn't called very often, then I consider $self more maintainable and will prefer it.
&lt;/p&gt;
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-901898"&gt;
&lt;p&gt;
--Dave
&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
</field>
<field name="root_node">
929698</field>
<field name="parent_node">
929698</field>
</data>
</node>
