Re: Environment variable in Apache/mod_perl/IO::Socket

2003-02-06 Thread David Dick
to:[EMAIL PROTECTED]] Sent: Thursday, 6 February 2003 7:17 PM To: dhfg Cc: [EMAIL PROTECTED] Subject: Re: Environment variable in Apache/mod_perl/IO::Socket G'day Dean, I just tried it and it seemed to work fine. (i just tried connecting to my db instead and printed the value of $sock

RE: Environment variable in Apache/mod_perl/IO::Socket

2003-02-06 Thread dhfg
running on a Window XP PC. Wonder if this may cause the problem. Cheers, Dean -Original Message- From: David Dick [mailto:[EMAIL PROTECTED]] Sent: Thursday, 6 February 2003 7:17 PM To: dhfg Cc: [EMAIL PROTECTED] Subject: Re: Environment variable in Apache/mod_perl/IO::Socket G

Re: Environment variable in Apache/mod_perl/IO::Socket

2003-02-06 Thread David Dick
G'day Dean, I just tried it and it seemed to work fine. (i just tried connecting to my db instead and printed the value of $socket to STDERR). The only question I have is where are $socket, $host and $port defined? They do not seem to be local to the routine, so is it possible that is where t

Environment variable in Apache/mod_perl/IO::Socket

2003-02-05 Thread dhfg
Hi, In my web application, I am using Apache server with mod_perl. In one of my Perl modules, I am creating a client socket using IO::Socket::INET which is accepting the hotsname and port values from the environment variables set in the Apache config file http.conf. For some reason, this didn't