LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2003, 09:41 AM   #1
rhuser
Member
 
Registered: Jan 2003
Posts: 55

Rep: Reputation: 15
problems opening perl files


i am tryin to run a basic perl file. this is what i done:

----------------------------
% my $planet = "World";
Hello, <% $planet %>!
-----------------------------

i saved the file as first.pl
i told the system that the file is excecutable:
chmod +x first.pl

i tried to open the file in Internet Explorer, and i got the content of the file:

http://134.36.16.12/perl/first.pl

i checked that httpd.conf includes the
LoadModule perl_module modules/mod_perl.so
PerlModule /usr/lib/httpd/modules

when i type $ perl - v
i get
 
Old 02-18-2003, 02:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I'm not a HTML guru. but to my understanding
you'd call a Perl-script from a cgi file, not by
loading it into a browser as such?

Cheers,
Tink
 
Old 02-18-2003, 03:15 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
http://www.linuxquestions.org/questi...threadid=45978

do not ask a question more than once.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with opening stdc++ files linuxmandrake Debian 6 10-06-2005 03:15 PM
Opening .db files m123 Linux - Newbie 3 09-29-2005 05:51 PM
Opening files Diederick Programming 5 06-27-2005 09:11 PM
opening files... hoffman Linux - Newbie 10 11-13-2003 01:24 PM
problems opening perl files rhuser Linux - Software 3 02-18-2003 11:03 AM


All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration