OK, I'm getting an error running my perl script and can't seem to see the problem. Here's the error:

syntax error at C:\src\rex\rex_config.cgi line 544, near "$sysnamelist["
syntax error at C:\src\rex\rex_config.cgi line 546, near "} elsif"
Execution of C:\src\rex\rex_config.cgi aborted due to compilation errors.

...
$SYSNAME='SysName';
$SEPARATOR='!';

   $SysIndex = 0;

   if ($PageNo==1)
   {
       my @sysnamelist=split(/$SEPARATOR/,$config{$SYSNAME});
       my $sysnamelist[$SysIndex]=$input{$SYSNAME};
       $config{$SYSNAME}=join(/$SEPARATOR/,$sysnamelist);
   } elsif ($PageNo==2)

Thom Hehl
Heavyweight Software for Heavyweight Needs
www.heavyweightsoftware.com
--
"In every revolution, there is one man with a vision."--Jerome Bixby



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to