Please Scroll Down to See Forums Below
napsgear
genezapharmateuticals
domestic-supply
puritysourcelabs
UGL OZ
UGFREAK
napsgeargenezapharmateuticals domestic-supplypuritysourcelabsUGL OZUGFREAK

Configuring Perl ...

sk*

New member
Not sure if there are any programmers here or if anyone can help, but I am having a problem configuring perl.

Installation Dir: usr/bin/perl

When I try to run the .pl file it gives the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, etc, etc.

All I have in the .pl file is this:

#!usr/bin/perl
print 'test';

--------------

Thanks a lot for any help. :)

-sk
 
Last edited:
What does the documentation list as the server commands?

What flavour of perl?

Have you started the server, did it produce a self documenting start up log?

Tell me you started the server...
 
CipherLock said:
What does the documentation list as the server commands?

What flavour of perl?

Have you started the server, did it produce a self documenting start up log?

Tell me you started the server...

Yea listen, i've been programming for 10years so if I was actually hosting it I would have run it lol ... it is run on the server side.

I am not hosting the server ...

In the error page it said "error: file has no execute permission."

Not sure how to set permissions with apache through command line.

Anyway, i'll figure it out.

-sk
 
Okay, with a help of a friend was able to make it work BUT only if I edit it with vi. If I make it on notepad on xp and upload, it doesn't work.

Any ideas?

-sk
 
jnuts said:
Is Notepad inserting a CR+LF when perl it only wants a CR or LF?

Notepad???

Jesus you're running perl on a win32 system?
And who mentioned a flavor of perl????

It is more than likely that you simply don't have rights to /usr/bin/perl. (/usr/local/perl or where ever it's been stuck)

Type which perl and verify you're using the perl in your PATH or simply some kluged half-baked install of perl.
 
Code said:


Notepad???

Jesus you're running perl on a win32 system?
And who mentioned a flavor of perl????

It is more than likely that you simply don't have rights to /usr/bin/perl. (/usr/local/perl or where ever it's been stuck)

Type which perl and verify you're using the perl in your PATH or simply some kluged half-baked install of perl.

NO.

The server that is hosting my site and running perl on it is on linux. I used notepad on win32 to write though.

Anyway, the problem is solved so let's put this thread to rest.

-sk
 
Code said:

And who mentioned a flavor of perl????

Perl flavours
· Perl 4 and Perl 5, and compatibility
· Perl for different environments: Unix, DOS, Macintosh, etc
· Invoking Perl; command-line switches

... everybody *thinks* they are an expert...
 
CipherLock said:


Perl flavours
· Perl 4 and Perl 5, and compatibility
· Perl for different environments: Unix, DOS, Macintosh, etc
· Invoking Perl; command-line switches

... everybody *thinks* they are an expert...

Perl is perl.
Macperl isn't perl.
Perl 4 and 5 are both perl. Different versions, but still perl, not a flavor or distribution of perl.
perl -w or perl -s v is still perl.

Nice try ballsack.
 
blah, blah, blah.

So you would distinguish Windows 98 and windows 98SE and windows 95 as different versions and NOT flavours?

Everyone will describe knowing the flavours of windows since before 2000 or NT. This fuss is all about the context I used the word flavour in.

Man I'm prissy.

BTW - I'm right and you're right. And that's a gift from me to you.

Yet I do concede defeat at perl -w or perl -s being the same. Point to you.
 
CipherLock said:
blah, blah, blah.

So you would distinguish Windows 98 and windows 98SE and windows 95 as different versions and NOT flavours?

Everyone will describe knowing the flavours of windows since before 2000 or NT. This fuss is all about the context I used the word flavour in.

Man I'm prissy.

BTW - I'm right and you're right. And that's a gift from me to you.

Yet I do concede defeat at perl -w or perl -s being the same. Point to you.

Win32 is Win32.

I know we're both right. I'm just an asshole. :fro:
 
The main issue with version differences is compatability ...

Figured what you ment by flavor, just didn't respond because I knew it was irrelevant in this case. :)

-sk
 
Top Bottom