GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Executing a perl file (https://gfy.com/showthread.php?t=663158)

lakroze 10-06-2006 01:17 AM

Executing a perl file
 
Hi, a have to run a perl script... I have the script but I cannot execute the file...

the only advice I want is how to run a "hello world" in perl...

I have perl on my host (at least it says it have installed)
I put the .pl file in the cgi-bin dir
I make it 755

I access it tru my browser...
and it says error (it says error when I try to run "hello world too)

lakroze 10-06-2006 01:23 AM

hmmm no programmers here?

Ecchi22 10-06-2006 01:40 AM

1. At the command line:

perl HelloWorld.pl [ENTER]

2. As a CGI:

http://www.your_site.com/cgi-bin/HelloWorld.pl

3. As a server-side include:

<!--#exec cgi="/cgi-bin/HelloWorld.pl"-->

Ecchi22 10-06-2006 01:42 AM

If that doesn't work contact your hosting support


All times are GMT -7. The time now is 03:43 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123