On Redhat perl is to found at /usr/bin/perl so you will need to change the
first line to #!/usr/bin/perl -Tw
Regards
Creighton
Gede Gilijk wrote:
> I am new to PERL and CGI and start to learn from this mailing list.
>
> I download script from the web and try to customized and run on the server.
I am new to PERL and CGI and start to learn from this mailing list.
I download script from the web and try to customized and run on the server.
First, the script run properly when I run it on SCO-UNIX, APACHE, and Perl
5.005_3
But when I try run the same script on RedHat LINUX, APACHE, and Perl
Just some more info: If I use the orignal Socket library and build the
connection by hand, it behaves as normal:
#!/usr/local/bin/perl -w
use Socket;
$remote_host= "85.3.25.115";
$remote_port= "25";
socket(TO_SERVER, PF_INET, SOCK_STREAM, getprotobyname('tcp'));
$internet_addr = ine
I am having problems with this. For some reason the script connects even
though nothing is listening on that port.
ie. If I shut down the smtp server I can no longer 'telnet hostname 25'
so the script should die, but it doesn't.
Here is what I have:
#!/usr/local/bin/perl -w
use IO::Socket::INE
This may help:
http://www.wiley.com/legacy/compbooks/stein/source.html
of course there are so many more.
Mark Bergeron'
-Original Message-
From: "Lynn Glessner"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Wed Aug 29 11:37:49 PDT 2001
Subject: active perl on IIS
>Can anyone point me
Can anyone point me to a site or book with detailed information about
configuring my W2K server IIS for perl and cgi? I have a form which I
designed at work on Linux and Apache, and it works fine in that environment.
I want to run it on my home W2K machine, but am baffled. My coworkers are no
help
--- Francesco Scaglioni <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> the script now reads ( see below ) but I still get errors as follows:
>
> ** (at end of line) = where use of uninitialised value in cancatenation and
> *** (at end of line) = where use of uninitialised value in pattern
> match
=>The attached snippet of code produces errors of unitialised value
=>strings for the lines I have marked. The script compiles OK. What
=>obvious newbie thing am I missing?
=>
=>Cheers & Thanks
=>
=>Francesco
=>
=>#!/usr/bin/perl -w
=>#
=># add taint check later
=>
=>use CGI qw(:standard);
=>u
Most likely because no data is being passed to the script.
Brad
> -Original Message-
> From: Francesco Scaglioni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 9:23 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: uninitialised value strings
>
>
> Hi ag
Hi again,
the script now reads ( see below ) but I still get errors as follows:
** (at end of line) = where use of uninitialised value in cancatenation and
*** (at end of line) = where use of uninitialised value in pattern
match
How should I initialise those values?
Cheers
Francessco
#!/us
> -Original Message-
> From: Francesco Scaglioni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 8:00 AM
> To: [EMAIL PROTECTED]
> Subject: uninitialised value strings
>
>
> Hi,
>
> I have been playing around with the rat book but have the following
> problem:
>
> The attac
Hi,
I have been playing around with the rat book but have the following
problem:
The attached snippet of code produces errors of unitialised value
strings for the lines I have marked. The script compiles OK. What
obvious newbie thing am I missing?
Cheers & Thanks
Francesco
#!/usr/bin/perl -
12 matches
Mail list logo