![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Inserting more than one entry into a MySql DBby dws (Chancellor) |
on Feb 01, 2002 at 14:14 UTC ( #142744=note: print w/replies, xml ) | Need Help?? |
Show us the line that sets up @icodes. If, as you say, it is
@icodes="CEN01-SJU1-022102A CEN02-MEX1-022702P CTE01-SJU1-022202A CTE02-MEX1-022802P";
then it only contains a single element. To make that an array, do something like
@icodes=qw(CEN01-SJU1-022102A CEN02-MEX1-022702P CTE01-SJU1-022202A CTE02-MEX1-022802P);
In Section
Seekers of Perl Wisdom
|
|