I think that's what most of us were getting at.  In order for your "or" 
conditions to be tripped you would have to get something back that did not 
evaluate to false.  In the case of a function that is returning positive 
numbers for error codes, there is about a 99% chance that it is returning 0 on 
success.



________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 8:15 AM
To: [EMAIL PROTECTED]
Cc: perl-win32-users@listserv.ActiveState.com
Subject: RE: Resolved - Question about Win32::OLE

Hi Nick, 
> Take a look at the API doc for whatever SFTP program you are accessing; 
> it may be returning values you are not expecting.  After you instantiate 
> via the new method in OLE you are passed back whatever the external 
> program passes back.  It could be passing back 0 upon success which will 
> cause die to work azz-backwards. 
That's a good point and may be the issue. Unfortunately, the API doc only 
provides vbs examples with little added info, no return value info, etc. 
However, I did drop an email to the company. No response yet.
Thanks, 
Sturdy 


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to