For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > May 2006 > Re: GnuPG again: problem with if statement evaluation









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: GnuPG again: problem with if statement evaluation
Anthony Ettinger

2006-05-25, 6:58 pm

ps...you're checking if it has a value, 256 (a typical error return
code) would pass that test.



On 5/25/06, Anthony Ettinger <aettinger@sdsualumni.org> wrote:
> check $? or $!
>
> $gp->foo() or die "$!";
>
> my $output = $gp->foo();
> print "return code: $?";
>
> see perldoc perlvar
>
>
>
>
>
> On 5/25/06, Jason Balicki <kodak@frontierstl.com> wrote:
>
>
> --
> Anthony Ettinger
> Signature: http://chovy.dyndns.org/hcard.html
>



--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com