home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


wantarray

wantarray

Returns true if the context of the currently executing subroutine is looking for a list value. The function returns false if the context is looking for a scalar. May also return undef if a subroutine's return value is not going to be used at all.