Solved

CGI and Perl

Posted on 1997-11-14
3
227 Views
Last Modified: 2013-12-25
How do you get Perl to edit .pl files? I can't seem to get it to open my files, or for that fact, to even open up, period. What file opens up Perl????? Thanks
0
Comment
Question by:jbwilson
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
alamo earned 120 total points
ID: 1831185
Perl isn't a development environment, it's a an interpreter which reads a .pl text file, does an internal compilation, and immediately executes the file.

The most direct way to execute perl is:

perl <filename>

To run perl simply by typing the filename, on Windows associate .pl with perl.exe, or on unix make the first line #!/usr/bin/perl (or whatever perl's path is on your system).

Since .pl files are simply text, use your favorite editor to open them up, it's not critical.

Hope this gives you enough information to get perl running - if not, tell us what system you are using and what the problem is. Good luck!
0
 

Author Comment

by:jbwilson
ID: 1831186
Cool. ;-)
0
 

Author Comment

by:jbwilson
ID: 1831187
Cool. ;-)
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
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…

770 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