Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Imports with Module::Load::Conditional

by Eily (Monsignor)
on Sep 20, 2019 at 14:15 UTC ( [id://11106436]=note: print w/replies, xml ) Need Help??


in reply to Re: Imports with Module::Load::Conditional
in thread Imports with Module::Load::Conditional

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,

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11106436]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-19 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found