perl script in rc.local file not starting at boot up time
I am trying to make a perl script start automatically when my linux box starts. I had included the mysql server and the perl script to be started in rc.local file. But the mysql server starts but the perl script does not. The script is no way related to mysql. can any one of you kindly help me how to make the script run. I am pasting the line I had included in the rc.local file.
/bin/sh /var/www/html/autoclose.pl &