Group: comp.os.linux.setup


Subject: Association of *.pl extension with perl interpreter call possible ?
From: mlincoln100@hotmail.com (Matthew Lincoln)
Date: 11/19/2007 4:49:41 PM
I wrote a couple of perl scripts. When I want to call them I have always to enter myscript.pl including the extension ".pl" I want to avoid typing every time .pl but otherwise not remove the .pl extension. Isn't there a mechanism which Linux let automatically search for myscript.pl (and call Perl interpreter) when I type only "myscript"? How can I achieve that ? Matthew

Subject: Association of *.pl extension with perl interpreter call possible ?
From: Robert Heller
Date: 11/19/2007 6:35:59 PM
At 19 Nov 2007 16:49:41 GMT mlincoln100@hotmail.com (Matthew Lincoln) wrote: > > I wrote a couple of perl scripts. > > When I want to call them I have always to enter > > myscript.pl > > including the extension ".pl" > > I want to avoid typing every time .pl but otherwise not remove the .pl extension. > > Isn't there a mechanism which Linux let automatically search for myscript.pl (and call Perl interpreter) > when I type only "myscript"? > > How can I achieve that ? ln myscript.pl myscript > > Matthew > -- Robert Heller -- Get the Deepwoods Software FireFox Toolbar! Deepwoods Software -- Linux Installation and Administration http://www.deepsoft.com/ -- Web Hosting, with CGI and Database heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk