This line returns a false value:
return if $target < 0 || @$treasures == 0;
? [] = empty list?
As you say later, it's a reference to an empty (anonymous) array, not an empty list.
In reply to Re: A new FALSEness
by kyle
in thread A new FALSEness
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |