Welcome to the Monastery | |
PerlMonks |
Re^2: Imports with Module::Load::Conditionalby Eily (Monsignor) |
on Sep 20, 2019 at 14:15 UTC ( [id://11106436]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|