Solved

Filename association : Perl, Tcl, python

Posted on 1998-02-12
4
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1831981
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
ID: 1831982
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
ID: 1831983
sorry i almost forgot to grade i was expecting a comment from u
0
 
LVL 32

Expert Comment

by:jhance
ID: 1831984
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
size of file 1 24
Exchange Server 2013 Message Tracking log Powershell ? 11 85
[switch] $NoInheritance - Powershell Code 5 20
Move files based on file names? 8 30
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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