Solved

CGI and Perl

Posted on 1997-11-14
3
224 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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 …
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

757 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

21 Experts available now in Live!

Get 1:1 Help Now