<?xml version="1.0" encoding="windows-1252"?>
<node id="113432" title="Re: Mistakenly Believing split is using @_" created="2001-09-19 18:22:27" updated="2005-07-30 14:22:28">
<type id="11">
note</type>
<author id="36133">
lemming</author>
<data>
<field name="doctext">
&lt;p&gt;From perldoc perlfunc:&lt;br&gt; 
&lt;i&gt;In scalar context, returns the number of fields found
and splits into the "@_" array. Use of split in scalar
context is deprecated, however, because it clobbers your
 subroutine arguments.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;It's preventing you from possibly shooting
yourself in the foot.&lt;/p&gt;
&lt;p&gt;For a better method, use the function length() to
count the number of characters in a string.&lt;/p&gt;
  
</field>
<field name="root_node">
113425</field>
<field name="parent_node">
113425</field>
</data>
</node>
