<?xml version="1.0" encoding="windows-1252"?>
<node id="783397" title="String in array" created="2009-07-26 18:46:59" updated="2009-07-26 18:46:59">
<type id="115">
perlquestion</type>
<author id="758211">
Sun751</author>
<data>
<field name="doctext">
I hanve an array where elements are strings and separated my ";" so while doing split, 
&lt;code&gt;
my ($cmd, $chdir) = split(';',$run[$element],2);
&lt;/code&gt;

I am getting following error,
&lt;br&gt;
Argument "and/people" isn't numeric in array element at test.pl line 130.'
Any suggestion how to achieve split without above warnings???</field>
</data>
</node>
