Re: Compilation failed in require

2006-08-23 Thread Ranish George
Bala Murugan wrote: Hi All, While running the following temp.pl script, it throws the following error message. $ perl temp.pl HELLO Compilation failed in require at temp.pl line 2. $ $ cat temp.pl #!/usr/bin/perl require "/home/bala/hello.pl"; $ cat hello.pl #!/usr/bin/perl die "HELLO\n"; If

Re: Same Internal Server Error from last two days

2006-07-28 Thread Ranish George
ters an error, it records it in its error.log. What does the error.log say about this program? Hi Alok, Have you tried changing the shebang line as I have mentioned in one of the follow up. Trying changing the shebang to #!C:\Perl\bin\perl -Ranish George -- To unsubscribe, e-mai

Re: Same Internal Server Error from last two days

2006-07-28 Thread Ranish George
Nath, Alok (STSD) wrote: Ramnish, Here's my Hello World Cgi script which I am trying to run #!/usr/bin/perl print "Content-type: text/html\n\n"; print "Hello, World."; It has no problem. Thanx, Alok. -Original Message- From: Ranish George [mailto:[EMAIL

Re: Same Internal Server Error from last two days

2006-07-28 Thread Ranish George
Nath, Alok (STSD) wrote: Hi , It's not exactly a perl query but related to it. I am trying to run a Hello World Perl Script in Apache 2.2. My script is installed in location : C:\Program Files\Apache Software Foundation\Apache2.2\bin Perl is installed in : C:\Perl\bin But its constantl

Re: doubt..

2006-07-19 Thread Ranish George
is used as the delimiter instead of the general "/" delimiter since the pattern to match contains a "/". For example perl -le '$string="Hello /World"; $string =~ s|.*/|| ;print $string;' will print World as output. -Ranish George -- To unsubscr