perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Moss <martin_m...@btopenworld.com>
Subject Re: [RESEND] Trapping errors
Date Tue, 22 Feb 2005 17:06:46 GMT
> Instead use
> 
> Execute({inputfile => '*', options =>
> Embperl::Constant::optReturnError, 
> errors => \@errors}) ;
> if (@errors) {
> 	Execute (....
> }
> 

I've been doing something recently with Execute and
@errors, and I noticed that the @errors array also
contained any 'warnings' as well as errors... 

I came across a previous post of yours, Gerald, which
said that the the way to check if errors have occured
would be to check the return value of the Execute....
So if the Embperl script only contained warnings you
could tell the difference...

Is this still the case?

kind regards

Marty





	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message