Miscellaneous functions in perl

by kalai 2008-11-22 20:33:52


* defined - test whether a value, variable, or function is defined
* dump - create an immediate core dump
* eval - catch exceptions or compile and run code
* formline - internal function used for formats
* local - create a temporary value for a global variable (dynamic scoping)
* my - declare and assign a local variable (lexical scoping)
* our - declare and assign a package variable (lexical scoping)
* prototype - get the prototype (if any) of a subroutine
* reset - clear all variables of a given name
* scalar - force a scalar context
* undef - remove a variable or function definition
* wantarray - get void vs scalar vs list context of current subroutine call

Tagged in:

931
like
0
dislike
0
mail
flag

You must LOGIN to add comments