No, a BEGIN block is executed before the rest of the script is compiled.
To avoid confusion, the answer to the original question is correct: The BEGIN block doesn't need to enclose the entire script.
- tye (but my friends call me "Tye")In reply to (tye)Re: CGI::Carp use of BEGIN block to log errors (newbie question)
by tye
in thread CGI::Carp use of BEGIN block to log errors (newbie question)
by lauragarcia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |