Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 to learn about Exporter.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2016-10-25 09:40 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.