in reply to Two element array, shifted twice, is true?
DB<13> x @_ 0 undef
This shows that the array contains 1 element, and that element happens to be undefined. So @a in scalar context returns 1, which is true.
Presumably get_object() is being called with 3 arguments.
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Two element array, shifted twice, is true?
by SwaJime (Scribe) on Aug 16, 2016 at 18:41 UTC |