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.


Previous: Reference: waitpid Perl in a Nutshell Next: Reference: warn
Reference: waitpid Book Index Reference: warn

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.