Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Perl (http://www.programmingforums.org/forum21.html)
-   -   Perl Documentation (http://www.programmingforums.org/showthread.php?t=10774)

kruptof Jul 19th, 2006 5:42 AM

Perl Documentation
 
i would like to give this language a go, but i need the software to view/run my scripts...........i know where to get the software but is there any documentation on the installation of the software. the reason i ask for the installation documentations is that i had problems installing a php server software before......and i don't want to go through the same trouble as before...your help will be greatly apprecaited and i thank you in advance for your replies.

Infinite Recursion Jul 19th, 2006 8:33 AM

Installing Perl on Linux or Windows?

big_k105 Jul 19th, 2006 9:07 AM

If you are going to be using it on linux for just system admin type work then it should already be installed. Just try typing perl in the command like if you get the perl prompt then it is already installed. If you are planning on using it for CGI purposes then I don't really know how to help.

For windows there is a windows installer if you want it for system programming, but again if you want it for CGI purposes then I can't help you. :) good luck

kruptof Jul 19th, 2006 9:15 AM

Quote:

Originally Posted by Infinite Recursion
Installing Perl on Linux or Windows?

sorry i forgot to state that i am using windows 2k......thanks for the advice big_K

Pizentios Jul 19th, 2006 9:43 AM

http://www.perl.com/download.csp#win32

get your bins there.

ReggaetonKing Jul 19th, 2006 11:26 AM

ActivePerl is great.

bl00dninja Jul 20th, 2006 12:37 AM

yeah, activestate (i think) handles that stuff mostly now. you can also search for free perl ide's that help out alot, usually small downloads. (but most require you already have perl installed...they don't come with it, i think perl itself is about 18 megs or so)

kruptof Jul 20th, 2006 5:30 AM

okay..........thanxs for the help guys.......i have it running on win2k machine now and i have written the hello world program and i ran it from command line and it worked.........thank you...........but now is it possibel for me to embed this perl code into HTML code.

Regards, kruptof

v0id Jul 20th, 2006 5:48 AM

I programmed Perl once, and i used the editor DzSoft Perl Editor.
Here you can see some Perl w/ HTML example.
:

#!/usr/bin/perl

print "Content-type: text/html\n\n";

print <<"HTML";
<html>
<head>
<title>Perl w/ HTML</title>
</head>
<body>
Perl w/ HTML
</body>
</html>
HTML

Correct me if I'm wrong, it's about an year ago i last used Perl.

DaWei Jul 20th, 2006 7:16 AM

One doesn't embed Perl in HTML. It's the other way around. When you see that, Perl is building the HTML page. The client doesn't see any of it until it's all done and a response is sent. The correct perception of server-side/client-side is critical to success.


All times are GMT -5. The time now is 3:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC