sub BEGIN { push(@INC, "/try/looking/here"); #and other amazing tricks }
what the "BEGIN" subrouteen does is allow you to execute code BEFORE the script is compiled. This can allow you to do any pre-initialization you need to do for the script.
In reply to RE: How do I use a module?
by little_mistress
in thread How do I use a module?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |