Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Include external variables?

by pushtaev (Sexton)
on Dec 03, 2012 at 05:26 UTC ( #1006787=note: print w/replies, xml ) Need Help??


in reply to Include external variables?

If you use Moose, take a look at MooseX::SimpleConfig.

If you don't but still use OOP, take a look at it anyway, just to understand the idea.

If you don't use OOP at all, I recommend you to create a big and complex hash variable and export it, instead of export all this "$font44".

Look at http://perldoc.perl.org/Exporter.html to learn about Exporter.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006787]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2016-12-05 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (89 votes). Check out past polls.