Jason Balicki wrote:
>
> This is a piece of code taken from a larger program.
>
> I'm trying to determine that the encryption succeded, but when
> I try to evaluate the code, it always evaluates false even though
> the encryption works and produces an encrypted file.
>
> Here's the specific bit
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 <[EMAIL PROTECTED]> wrote:
check $? or $!
$gp->foo() or die "$!";
my $output = $gp->foo();
print "return code: $?";
see perldoc perlvar
On 5/25/06, Jason Balicki
check $? or $!
$gp->foo() or die "$!";
my $output = $gp->foo();
print "return code: $?";
see perldoc perlvar
On 5/25/06, Jason Balicki <[EMAIL PROTECTED]> wrote:
I'm back.
This is a piece of code taken from a larger program.
I'm trying to determine that the encryption succeded, but when
I'm back.
This is a piece of code taken from a larger program.
I'm trying to determine that the encryption succeded, but when
I try to evaluate the code, it always evaluates false even though
the encryption works and produces an encrypted file.
Here's the specific bit I'm concerned with:
if ($g