Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Is there a difference .pl and .cgi extensions?

by merlyn (Sage)
on Jun 19, 2000 at 21:06 UTC ( [id://18824]=note: print w/replies, xml ) Need Help??


in reply to Is there a difference .pl and .cgi extensions?

Not really. Both are unneeded extensions on Unix, that drive me and many other experts nuts. You don't call cat as cat.c! A user should not need to know the implementation language to invoke a program.

Additionally, when used as part of a URL, they give away the implementation language to random users out on the net--a major security hole.

So if your webserver or O/S needs an "extension" to determine that it's a CGI script or a Perl script, please don't use it for anything other than a toy. Real web servers don't need or use those.

  • Comment on Re: Is there a difference .pl and .cgi extensions?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found