
July 10th, 2007, 04:38 PM
|
 |
sign the treaty baby
|
|
Join Date: Dec 2004
Location: in the ghetto
|
|
|
New installation of XAMPP not running CGI/PERL files
Hello,
I'm having an issue with a new installation of OS X. I am trying to setup a programming environment and normally I use windows but now I'm upgrading to OS X. I need to get my perl scripts working. The shebang should stay the same #!/usr/bin/perl but I can not get any kind of output. Here is a hello world that will not output. I don't get an error just a blank page.
Code:
#!/usr/bin/perl
use CGI;
use strict;
my $q = new CGI;
print $q->header;
print "Hello World";
I installed XAMPP for OS X. Don't know if that might have hurt things or not.
Thanks for any help.
webg
|