Unable to use XML module

2005-09-04 Thread Nath, Alok (STSD)
Hi all, I am getting this problem while trying to use XML module in my script. Script : #!/usr/bin/perl use XML::Simple ; exit 0 ; Error : Can't locate XML/Simple.pm in @INC (@INC contains: C:/PROGRA~1

Re: mysql server has gone away

2005-09-04 Thread Jeff Pan
try this: $sql_user = "username"; $sql_pass = "password"; $host = '127.0.0.1'; $sql_conn = "dbi:mysql:dbname:$host:3306"; On Sun, 4 Sep 2005 13:09:29 +0100, "dan" <[EMAIL PROTECTED]> said: > hey > i have a problem that's now really really frustrating me. it's probably > not > a problem with the

mysql server has gone away

2005-09-04 Thread dan
hey i have a problem that's now really really frustrating me. it's probably not a problem with the perl program itself, but it's the only thing that's actually given me this error, and i was wondering if anyone's ever come across this before. i've just upgraded from mysql 3.23.55 to 3.23.59. now, n

Re: UNIVERSAL class like functionality for non-OO?

2005-09-04 Thread JupiterHost.Net
Peter Rabbitson wrote: Hello list, Is there a clean and elegant way to make a subroutine available to all namespaces/packages? Something like the UNIVERSAL class for objects, but for non-OO environment. I need to embed a logging facility into a multimodule project, so I want to have a certai

UNIVERSAL class like functionality for non-OO?

2005-09-04 Thread Peter Rabbitson
Hello list, Is there a clean and elegant way to make a subroutine available to all namespaces/packages? Something like the UNIVERSAL class for objects, but for non-OO environment. I need to embed a logging facility into a multimodule project, so I want to have a certain function (say log_msg()

Re: DBD::Oracle installation script assumes oracle is installed local ly?

2005-09-04 Thread Robert Citek
On Aug 31, 2005, at 9:55 AM, Scott Taylor wrote: [EMAIL PROTECTED] said: Hi all. I am attempting to install DBD::Oracle from the perl CPAN shell. The installation script seems to assume that oracle is installed locally. It asks me to set ORACLE_HOME to the path the oracle is installed and

Re: shared library of variables?

2005-09-04 Thread John Doe
Bowen, Bruce am Sonntag, 4. September 2005 15.31: > I have a program that is monitoring communications into a PC, and based on > the message format will trigger one of multiple perl files. Most of these > files use the same variable name and my question today is, is there a way > of establishing a

shared library of variables?

2005-09-04 Thread Bowen, Bruce
I have a program that is monitoring communications into a PC, and based on the message format will trigger one of multiple perl files. Most of these files use the same variable name and my question today is, is there a way of establishing a common library file containing all of the variables so th