Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Better way to define global variables

by hdb (Prior)
on Jul 25, 2013 at 14:02 UTC ( #1046348=note: print w/ replies, xml ) Need Help??


in reply to Better way to define global variables

Any chance you have another Utilities.pm lying around? Try:

use strict; use Utilities; print $INC{'Utilities.pm'},"\n"; print "This is the value for SYS_DIR=$SYS_DIR";

and see whether you get the correct path.

I have no problems with your code after making choroba's proposed changes.


Comment on Re: Better way to define global variables
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2015-07-06 21:58 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 (83 votes), past polls