StartUP file to start a service

Hi guys:

i have a Solaris 10 development server and a Solaris 9 production server. The entire task must be done in the dev. server. When it's done and all the testing is OK, the script or files are transfer to prod. Server.
All right. Now I have to figure out a way to put a script to initiate a service (subsystem) at startup. This means that every time the machine wakeup, the subsystem must be start too.
I have written a Perl script to do this, but I don't know what to do after that, where to save the files and all the stuff. Please help me.

Thanks.

have you placed your start script in /etc/init.d and the appropate runlevel like /etc/rc3.d? if you need a service to start before, give it a lower start number like S98xxx and S99xxx.

also, you should really have dev and prod environments the same. Sol10 and Sol9 can handle things differently.

ok.... that help me a lot.... but i want to start that service after all th rest it's done;