Solved

Filename association : Perl, Tcl, python

Posted on 1998-02-12
4
255 Views
Last Modified: 2013-12-25
They say Perl scripts can have the filename extention of '.cgi' instead of '.pl' (or even no extension) - if this be the case and you have other type of scripts (python, tcl etc etc) & u call them .cgi -- how does the system interpret these i.e. whether it's a Perl or a Python which needs to process the script requested from the browser.
0
Comment
Question by:eriklee
  • 2
  • 2
4 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
Comment Utility
How the system "interprets" filenames depends on what system you are talking about.  Unix systems make to assumptions about the type of a file from the filename extension.  So the choice is entirely up to you.  Any use of .pl, .exe, .com, .lib, etc., is purely for your convenience.  Under Windows, however, the situation is different and names like .exe, .dll, .com, .bat have significance to the system. It's also possible to associate a file ending with .pl to be tied to the perl interpreter program.  
0
 

Author Comment

by:eriklee
Comment Utility
So, on an NT platform i must make sure the extension of Perl, Python, Tcl/Tk scripts all have unique file extension?
0
 

Author Comment

by:eriklee
Comment Utility
sorry i almost forgot to grade i was expecting a comment from u
0
 
LVL 32

Expert Comment

by:jhance
Comment Utility
I must have missed your added question.  You should make all of the different "executable" types of a different extension under NT.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now