thendal
Programmer
- Aug 23, 2000
- 284
When i try to execute this code i am getting an error
translation pattern not terminated at the file.pl line 13.
Could any of you please help me in getting away this error.
@id=(1,2,3,4,5);
$uid=5;
@vcons=("y","n","y","n","y"
;
for($i=0;$i<@id;$i++)
{
if(($id[$i]) eq $uid)
{
if($selid eq "ve"
{
if($vcons[$i] eq y)
{
# action to be performed to yes condition
}
else
{
# acton performed if it is not yes condition
}
}
}
}
ThanX

translation pattern not terminated at the file.pl line 13.
Could any of you please help me in getting away this error.
@id=(1,2,3,4,5);
$uid=5;
@vcons=("y","n","y","n","y"
for($i=0;$i<@id;$i++)
{
if(($id[$i]) eq $uid)
{
if($selid eq "ve"
{
if($vcons[$i] eq y)
{
# action to be performed to yes condition
}
else
{
# acton performed if it is not yes condition
}
}
}
}
ThanX