|
| A R C H I V E D M E S S A G E |
|
Subject: Stupid # in script question |
| Posted: 04/20/2004 at 6:08:35 am |
| By: Scaggs |
| Im new to scripts and the path on my hosting server says this "Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail"
But in the bizmail.cgi file it says to use #!/usr/bin/perl. what are the # and ! signs? do i take them out or leave them in? Sorry for the stupid question but this is confusing to me.
Thanks
Scaggs
| |
|
|
Subject: Re: Stupid # in script question |
| Posted: 04/20/2004 at 6:28:41 am |
| By: Scaggs |
| As far as I know you can leave them in.
| |
|
|
Subject: Re: Stupid # in script question |
| Posted: 04/20/2004 at 6:31:39 am |
| By: Scaggs |
|
|
Subject: Re: Stupid # in script question |
| Posted: 04/21/2004 at 6:03:12 am |
| By: Seth Knorr |
| Yes, you do leave them in. The pound sign in perl means you are commenting code out. IF the pound sign and then !
eg. #!
apear on the first line, that tells perl that the path to perl will follow.
Seth | |
|
|