in reply to Re^7: Anybody use !!
in thread Anybody use !!

Oh, okay. I guess I misunderstood the OP. I thought that he named the variable $return because it was unimportant to his question.

I can see that if you speculate about the bigger picture, the name of the variable is important:

sub isAllDataValid { my $return; if( ... ) { $return = thisTest(...); } elsif( .. ) { $return = thatTest(...); } else{ $return = theOthertest(...); } ... return !! $return; }

And the normalisation of disparate returns is relatively unimportant.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.