RE: Perl test tools

2007-03-06 Thread Jerry DuVal
http://pub.langworth.com/perl_test_refcard.pdf Jerry DuVal Pace Systems Group, Inc. 800.624.5999 www.Pace2020.com >-Original Message- >From: Nath, Alok (STSD) [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 06, 2007 2:29 AM >To: Jeff Pang; beginners@perl.org >Subject

RE: update statement execution in perl

2006-08-01 Thread Jerry DuVal
#!/usr/bin/perl use warnings; use strict; use DBI; my $username = 'test'; my $password = 'test'; my $database = 'testdb'; my $hostname = 'localhost'; my $dbh = DBI->connect("dbi:Pg:database=$database;"."host=$hostname;port=5432", $username, $password); my $SQL = "Select (select name from host w

Can't use an undefined value as a HASH reference at

2006-07-21 Thread Jerry DuVal
When trying to use the class below I keep getting this error message. Any idea's, I have tried everything. Can't use an undefined value as a HASH reference at /usr/share/perl5/Pace/Sockets/Client.pm line 37. ERROR - Aborting abnormally... error code = 2 message = Can't use an undefined value

another error handling question

2006-07-21 Thread Jerry DuVal
Any way to catch a die message? I want to catch a die message from a sub routine, log it, and continue with a different sub routine. Thanks in advance, Jerry

RE: File transfer over socket connection

2006-07-19 Thread Jerry DuVal
t;On Tue, 18 Jul 2006 12:08:31 -0400, [EMAIL PROTECTED] ("Jerry DuVal") >wrote: > >>I have a socket connection running on >> >> >> >>listener - Server A port 50 >> >>client - Server B >> >> >> >>I can talk btwn the cl

File transfer over socket connection

2006-07-18 Thread Jerry DuVal
I have a socket connection running on listener - Server A port 50 client - Server B I can talk btwn the client and server with no problem, but I want to send a file over the TCP socket connection. Does any one have any examples?

RE: FW: Exec a script on one server that will exec other scripts on a different server..

2006-06-21 Thread Jerry DuVal
When I found these links I thought of this email. I tested it and it worked great. http://www.rocketaware.com/perl/perlipc/TCP_Clients_with_IO_Socket.htm http://www.rocketaware.com/perl/perlipc/TCP_Servers_with_IO_Socket.htm >-Original Message- >From: William Paulsen (W) [mailto:[EMAIL P

RE: Exec a script on one server that will exec other scripts on a different server..

2006-06-08 Thread Jerry DuVal
>-Original Message- >From: William Paulsen (W) [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 08, 2006 9:31 AM >To: Jerry DuVal; beginners@perl.org >Subject: RE: Exec a script on one server that will exec other scripts on a >different server.. > > >Adding it would be an

RE: Exec a script on one server that will exec other scripts on a different server..

2006-06-08 Thread Jerry DuVal
>-Original Message- >From: William Paulsen (W) [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 08, 2006 8:54 AM >To: beginners@perl.org >Subject: Exec a script on one server that will exec other scripts on a >different server.. > > >Hi, > >I'm trying to write a perl script that will run o