Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Importing Dependency Version

by perldc (Initiate)
on Oct 14, 2013 at 14:16 UTC ( #1058190=note: print w/ replies, xml ) Need Help??


in reply to Re: Importing Dependency Version
in thread Importing Dependency Version

That script seems to work and use the Exporter in my projects lib directory. I'm not sure why but I was using:

use strict; use warnings; use lib qw{./lib}; print "Email::Date::Format: ", $Email::Date::Format::VERSION; print "Exporter: ", $Exporter::VERSION;
which did not work. Simply moving the use warnings; to the end does work.
use strict; use lib qw{./lib}; use warnings; print "Email::Date::Format: ", $Email::Date::Format::VERSION; print "Exporter: ", $Exporter::VERSION;
Apparently there is a special order to for "use" which I did not know about.


Comment on Re^2: Importing Dependency Version
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2015-07-31 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls