Solved

CGI and Perl

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
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)

920 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

11 Experts available now in Live!

Get 1:1 Help Now