Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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.


Comment on Re: Include external variables?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2014-09-21 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (165 votes), past polls