Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

($code or die): Re: I have a lot of problems w/ my scripts, but this may be the biggie. Please read

by $code or die (Deacon)
on Jan 07, 2001 at 06:28 UTC ( #50306=note: print w/replies, xml ) Need Help??


in reply to I have a lot of problems w/ my scripts, but this may be the biggie. Please read

I agree with chromatic's post.

Check out CGI.pm and also
Check out Ovid's CGI Course

Lot's of great info there. I've not read that book either, but I'd use CGI.pm for getting values from web forms, it only takes a couple of lines of code.

To answer your question though, it usually doesn't matter if you call it *.pl or *.cgi. Try both to see if the script works on your web server, if so then use whatever you're comfortanble with.

Good Luck
  • Comment on ($code or die): Re: I have a lot of problems w/ my scripts, but this may be the biggie. Please read

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://50306]
help
Chatterbox?
[pryrt]: 1nickt, sprintf "%.16e", $v will always give enough precision to see 1 ULP (the smallest fractional part) of a standard 64bit Perl NV*
[pryrt]: (*: for systems where $Config{nvsize}==8 )
[pryrt]: Thus, that's "enough precision" to tell the difference between 1.0 and 1.0+1ULP
[pryrt]: But in what circumstance does your problem arise? When, in Perl, does the integer 1 not work identically to the floating-point NV 1.0000000000000000 e0?

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2017-05-24 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?