LinuxQuestions.org
Visit Jeremy's Blog.
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, 08: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, 01:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 02:15 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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 02:15 PM
Opening .db files m123 Linux - Newbie 3 09-29-2005 04:51 PM
Opening files Diederick Programming 5 06-27-2005 08:11 PM
opening files... hoffman Linux - Newbie 10 11-13-2003 12:24 PM
problems opening perl files rhuser Linux - Software 3 02-18-2003 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration