--- pionerd <[EMAIL PROTECTED]> wrote:
> (sorry if this question is very lame, i couldnt find
> any of newbie list on
> active state)
> 
> hi all,
> 
> i am new to this list and also new to perl. i am
> quite enjoying it while
> learning. and i need ur help
> regarding one(three??) problem(s) i am facing.
> 
> 1) i am trying to run a perl script on my website,
> but it gives me a error
> 500. how do i make sure that
> this server where i am hosted is suporting perl?? (i
> chekced the "bin"
> folder but it has only "ls" file). i am
> not sure whether perl exists in "bin" folder on a
> muti host company. i tried
> to contact the hosting comp support
> but they just say that they DO support perl, but not
> much of help.

Type "which perl" at your shell prompt. This should
tell you if you have Perl and if it's in your path
(and this is the path you want in your shebang line).

 > 2) if it exists (perl interpreter), how do i check
> for bugs(in my program)
> apart from looking at the server logs (to which i
> dont have access right
> now, i have asked hte hosting company for it). like
> any debugging variables
> where i can just print
> "print @debug;" something like that to get the error
> info?

You might use CGI::Carp for testing (but take it out
for production):

use CGI::Carp qw/fatalsToBrowser/;



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to