Ævar Arnfjörð Bjarmason <ava...@gmail.com> writes:

>> It somehow was unintuitive that 0 expected failure and 1 expected
>> success, but it probably was just me.
>
> Except this. The wildmatch uses the same idiom, and I think it makes
> sense. 1 = true, 0 = false, ... when all we wanted was
> "does this match".
OK.  Makes perfect sense (it would have been even easier to
understand if the variable was not $status but $matches or
something).


Reply via email to