RE: FTP problem

2005-04-06 Thread Allen Wang
We are having some issues when using FTP, sometimes when the file size is big, it got truncated. Any suggests will be appreciated. $ftp = Net::FTP->new ($ftp_host, timeout=>30) or $ftp_error=1; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Timeout script

2006-11-09 Thread Allen Wang
Anyone knows how to write a timeout script using perl, basically I want to like this, * Use perl to connect to an oracle database * After 5 minutes cannot connect to the database through database listener, get a timeout message and email to a distribution list Thank

RE: beginners-cgi Digest 8 Feb 2002 17:29:24 -0000 Issue 165

2002-02-08 Thread Allen Wang
I want to change the string "d:\orant\oracle" to "d:\\orant\\oracle" Anyone know how to do this? Thanks, allen > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 08, 2002 9:29 AM > To: [EMAIL PROTECTED] > Subject: beginners-cgi

RE: buton names

2002-02-13 Thread Allen Wang
I have an hash array $Hash($array), I don't know to re-initialization it? I tried %Hash = (), @Hash = (). But it does not works. I need some help. Thanks, allen -Original Message- From: GsuLinuX [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 2:31 PM To: Hanson, Robert;

Create an output file using Perl

2002-08-27 Thread Allen Wang
i want to generate an output file using perl open (OFILE, " > /tmp/aa.lst") or die "Can't write $p_OutputFile: $! "; Everytime I ran it, I got the following error message. Can't write /tmp/aa.lst: No such file or directory at compare.pl line 71. Any suggestions? Thanks, Allen

RE: Create an output file using Perl

2002-08-27 Thread Allen Wang
s the /tmp directory exist? does the user running this script have write permissions to that directory? --- Allen Wang <[EMAIL PROTECTED]> wrote: > > i want to generate an output file using perl > > open (OFILE, " > /tmp/aa.lst") or die "Can't wri

RE: Create an output file using Perl

2002-08-27 Thread Allen Wang
I think there should not be any spaces between " and >, and that's the reason why it failed. Thanks anyway. open (OFILE, " > /tmp/aa.lst") or die "Can't write $p_OutputFile: -----Original Message- From: Allen Wang [mailto:[EMAIL PROTECTED]] Sent:

RE: elsif issues ....still

2004-03-26 Thread Allen Wang
When I was trying to install GDGraph-1.43 It failed due to the following message " Warning: prerequisite GD failed to load: Can't load '/opt/perl5/lib/site_perl/5.6.0/PA-RISC2.0/auto/GD/GD.sl' for module GD: No suc. at (eval 4) line 3 Compilation failed in require at (eval 4) line 3. Warning: pre

RE: GD Install Failure (was: Re: elsif issues ....still)

2004-03-26 Thread Allen Wang
riginal Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 4:13 PM To: Allen Wang Cc: [EMAIL PROTECTED] Subject: GD Install Failure (was: Re: elsif issues still) Please start a new thread when posting (and bottom post when replying)... Allen Wang

RE: GD Install Failure (was: Re: elsif issues ....still)

2004-03-29 Thread Allen Wang
-Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 6:11 PM To: Allen Wang Cc: [EMAIL PROTECTED] Subject: Re: GD Install Failure (was: Re: elsif issues still) Please bottom post... Allen Wang wrote: > > The first error mes