![]() |
|< 1 2 3 4 5 6 7 8 >| | ![]() |
72 Einträge, 8 Seiten |
Quote\n\nA "BEGIN" code block is executed as soon as possible, that is, the moment it is completely defined, even before the rest of the containing file (or string) is parsed...
...These code blocks can be prefixed with "sub" to give the appearance of a subroutine (although this is not considered good style). One should note that these code blocks don't really exist as named subroutines (despite their appearance). The thing that gives this away is the fact that you can have more than one of these code blocks in a program, and they will get all executed at the appropriate moment. So you can't execute any of these code blocks by name....
...It should be noted that "BEGIN" code blocks are executed inside string "eval()"'s...
![]() |
|< 1 2 3 4 5 6 7 8 >| | ![]() |
72 Einträge, 8 Seiten |