in reply to Re: Logical expression evaluation
in thread Logical expression evaluation
Or, you can instruct Perl in more detail about how you'd like a boolean value to be displayed:
$v = 0; $f = !($v); printf '**%1d**',$f;
Read the documentation on printf and sprintf for more.
|
|---|