I am very newbie ... one week
I use Windows 7
I installed Apache ... it works with,
Http:\\localhost test, and is running.
I installed Dwimperl. I can run simple Perl programs from the command line and Padre.
I had great pain but eventual success to get local host to output Hello World as web page,
code is in Hello2a.pl, it is:
#!C:\Dwimperl\Perl\bin\perl print "Content-type:text/html\n\n"; print "<html>\n"; print "<h1>Hello World</h1>\n"; print "</html>\n";
After many trials it worked when I put Hello2a.pl in,
C:\Apache2\cgi-bin
Now I open Hello2a.pl in Padre. when I run, the code is just output in the command line with the script as above. No web page with just Hello World appears.
I checked view options in Padre and chose HTML ... but on run get error ... no execution mode was defined etc Perhaps I need to install some CPAN modules ?
Any advice greatly appreciated as I've surfed and read without success.
dofski
In reply to Output web page with Padre ... How ? by dofski
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |