How to run perl scripts?
This is a topic on How to run perl scripts? within the Programmers Corner forums, part of the Technology category; Hi, I am new to cgi and am currently learning perl. I would like to know how to test these ...
-
Tech2 Members
How to run perl scripts?
Hi, I am new to cgi and am currently learning perl. I would like to know how to test these scripts on my free hosting server, i.e. where to save the file and what to write after #!. I have an account in freehostia, and I looked at my home directory using file manager. There is no cgi-bin/bin directory, though free hosting plan support perl scripting. Please help
-
Uber Newbie
Re: How to run perl scripts?
You are going to write PERL scripts on your local machine right?
If yes, then download sources...
-- Wed Sep 22, 2010 10:45 am --
And then tell me.. I'll help you.
And, I don't know about online server hostings. Sorry.
-
Tech2 Members
Re: How to run perl scripts?
Not really, I thought I would make scripts to make my website more interactive. Thanks for your help
-
Uber Newbie
Re: How to run perl scripts?
did you tried connecting through ftp? i think you must put your file in cgi-bin dir.
well, i dont know perl. so whats more in perl that php cant to make site more interactive?
-
Tech2 Members
Re: How to run perl scripts?
Perl?
Tell me exactly.. WHY have you chosen Perl when there are more modern scripting languages available like PHP/Ruby/Python?
-
Uber Newbie
Re: How to run perl scripts?
-
Tech2 Members
Re: How to run perl scripts?
Friends thats in my syllabus, and we have a project to make a site using it. PHP could have been lot better, but sorry, cant help. Someone also told me that perl is a very powerful scripting language
-
Uber Newbie
Re: How to run perl scripts?
Same like me... Like I'm learning php and ASP.NET but still, PERL is in our syllabus... So it has to be learnt.
And, Noone has ever told
perl is a very powerful scripting language
to me ever.
-
Moderator
Re: How to run perl scripts?

Originally Posted by
uniquerockrz
what to write after #!.
[code=php:vp00zceu]<span class="syntaxdefault">
</span><span class="syntaxcomment">#!/usr/bin/perl
//*your*perl*code
</span><span class="syntaxdefault">*</span>[/code:vp00zceu]
Give permissions
Code:
chmod u+x </path/to/your/perl/script>
And embed it in your HTML file.
My Gear :HP Envy 14 / i5 520M / 8GB / 500GB HDD / 1TB Seagate GoFlex | Google Cr-48 | D-Link DGL 4500 | Denon AH-C360| Klipsch Image S4a | Fiio E5 | iPhone 3GS| Galaxy S II | Dell U2312HM| X-tatic 5.1 Gaming Headset | Logitech G400 Optical Mouse
-
Tech2 Members
Re: How to run perl scripts?
Fine. And where to save the scripts? And what should be the extension? .pl or .cgi?
Similar Threads
-
By vinay_001 in forum Gaming
Replies: 1
Last Post: 11-18-2006, 01:59 PM
-
By $$gururaj$$ in forum General Discussions
Replies: 1
Last Post: 10-27-2006, 10:31 PM
-
Replies: 1
Last Post: 07-19-2006, 06:34 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules