http://www.perlmonks.org?node_id=783397

Sun751 has asked for the wisdom of the Perl Monks concerning the following question:

I hanve an array where elements are strings and separated my ";" so while doing split,
my ($cmd, $chdir) = split(';',$run[$element],2);
I am getting following error,
Argument "and/people" isn't numeric in array element at test.pl line 130.' Any suggestion how to achieve split without above warnings???