Here's the code:
while ($j<$rec{'RateVideo'}) {
print qq|<img width="10" height="15" alt="$rec{'RateVideo'}" src="http://www.outermost.net/test/images/sq3.gif">|;
++j;
}
while ($j<=10)
print qq|<img width="10" height="15" alt="$rec{'RateVideo'}" src="http://www.outermost.net/test/images/sq4.gif">|;
++j;
}
print qq|<small><br>Audio:<br></small>|;
$k=1
while ($k<$rec{'RateAudio'}) {
print qq|<img width="10" height="15" alt="$rec{'RateAudio'}" src="http://www.outermost.net/test/images/sq3.gif">|;
++k;
}
while ($k<=10)
print qq|<img width="10" height="15" alt="$rec{'RateAudio'}" src="http://www.outermost.net/test/images/sq4.gif">|;
++k;
}
And here's the error:
syntax error at ./dvd.pl line 877, near ")
print"
Thanks,
Blake
Code:
$j=1 while ($j<$rec{'RateVideo'}) {
print qq|<img width="10" height="15" alt="$rec{'RateVideo'}" src="http://www.outermost.net/test/images/sq3.gif">|;
++j;
}
while ($j<=10)
print qq|<img width="10" height="15" alt="$rec{'RateVideo'}" src="http://www.outermost.net/test/images/sq4.gif">|;
++j;
}
print qq|<small><br>Audio:<br></small>|;
$k=1
while ($k<$rec{'RateAudio'}) {
print qq|<img width="10" height="15" alt="$rec{'RateAudio'}" src="http://www.outermost.net/test/images/sq3.gif">|;
++k;
}
while ($k<=10)
print qq|<img width="10" height="15" alt="$rec{'RateAudio'}" src="http://www.outermost.net/test/images/sq4.gif">|;
++k;
}
And here's the error:
Quote:
Reason: syntax error at ./dvd.pl line 874, near "++" syntax error at ./dvd.pl line 877, near ")
print"
Thanks,
Blake