[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 686 lines (26 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
in(context even when it's called outside the context.In human terms, it's a funny way of passing arguments to a subroutine whenyou define it as well as when you call it. It's useful for setting uplittle bits of code to run later, such as callbacks. You can evendo object-oriented stuff with it, though Perl already provides a differentmechanism to do that--see L<perlobj>.You might also think of closure as a way to write a subroutinetemplate without using eval() X-Ref |
No description |
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |