The BEGIN block is only really necessary because time() from Time::HiRes stomps on time so needs to be loaded at compile time. QUOTE works fine without.
Only if you put the parentheses (which I guess is a good idea though). If you don't import in BEGIN, you'll get Bareword error with QUOTE, time, QUOTE,
In reply to Re^2: Imports with Module::Load::Conditional
by Eily
in thread Imports with Module::Load::Conditional
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |