Booking.com interview question

What does the wantarray functions do in Perl?

Interview Answer

Anonymous

20 Nov 2012

Returns true if the caller wants a list/array