Thanks guys for answering..
Have another question.
I am using a CGI written in Perl to send a html form. The script says that I need something called "the she bang line"
do you have any idea what is that? Can I try it before uploading it to the PWS?
Thanks!
The "shebang" line is the first line of a Perl program (or a shell script, or Python program, or any other interpreted language) which tells the operating system where the ACTUAL interpreter for the language is.
You should always include it, no matter WHAT PEOPLE TELL YOU about Windows or PWS or this or that. Use it.
And make sure you have the right path. If PERL.EXE is installed in C:\PERL\BIN\PERL.EXE, your shebang line should look like #!c:/perl/bin/perl -- yes, that's right, you can (and should) use lower case letters, and you can (and should) use FORWARD slashes. Even better, if the web server itself is ALSO on the C: drive, you can just use #!/perl/bin/perl as your shebang line.
Thanks Japhy!
I tried what you said and worked great
Bye,
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
Rob Pengelly posted this at 12:36 — 6th December 2000.
They have: 850 posts
Joined: Jul 1999
perldoc -f crypt
or
http://www.perldoc.com/perl5.6/pod/func/crypt.html
japhy posted this at 12:55 — 6th December 2000.
They have: 161 posts
Joined: Dec 1999
I also wrote up a bit of an email about crypt() for one of the Perl mailing lists I'm on. Check it out at http://www.pobox.com/~japhy/docs/crypt
Mark Hensler posted this at 07:27 — 7th December 2000.
He has: 4,048 posts
Joined: Aug 2000
I like japhy's better . More info, and I like the examples. They help visual what's happening.
Nico posted this at 12:25 — 7th December 2000.
They have: 96 posts
Joined: Feb 1999
Thanks guys for answering..
Have another question.
I am using a CGI written in Perl to send a html form. The script says that I need something called "the she bang line"
do you have any idea what is that? Can I try it before uploading it to the PWS?
Thanks!
Nicolas Escobar J.
http://www.developy.com
Free resources for webmasters in spanish
japhy posted this at 13:18 — 7th December 2000.
They have: 161 posts
Joined: Dec 1999
The "shebang" line is the first line of a Perl program (or a shell script, or Python program, or any other interpreted language) which tells the operating system where the ACTUAL interpreter for the language is.
You should always include it, no matter WHAT PEOPLE TELL YOU about Windows or PWS or this or that. Use it.
And make sure you have the right path. If PERL.EXE is installed in C:\PERL\BIN\PERL.EXE, your shebang line should look like #!c:/perl/bin/perl -- yes, that's right, you can (and should) use lower case letters, and you can (and should) use FORWARD slashes. Even better, if the web server itself is ALSO on the C: drive, you can just use #!/perl/bin/perl as your shebang line.
Nico posted this at 16:04 — 7th December 2000.
They have: 96 posts
Joined: Feb 1999
Thanks Japhy!
I tried what you said and worked great
Bye,
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.