The concept of truth of something in list context makes no sense.As fas as I understand it truth - as fas as perl is concerned - is the result of evaluating something in boolean context.
In boolean context an array evaluates just like in scalar context to it's length.
Therefore I would claim that the statement above ("A list with one element is true") is actually correct.
In reply to Re^4: What could make "()" a good value for boolean false?
by morgon
in thread What could make "()" a good value for boolean false?
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |