| Keywords related to control flow of your perl programGet out of a function earlyDaftar Isi - return
Returns from a subroutine, eval , or do FILE with the valuegiven in EXPR. Evaluation of EXPR may be in list, scalar, or voidcontext, depending on how the return value will be used, and the contextmay vary from one execution to the next (see wantarray). If no EXPRis given, returns an empty list in list context, the undefined value inscalar context, and (of course) nothing at all in void context. (In the absence of an explicit return , a subroutine, eval,or do FILE automatically returns the value of the last expressionevaluated.) |
| |
|