Keep It Simple, Stupid | |
PerlMonks |
Re: Include external variables?by pushtaev (Sexton) |
on Dec 03, 2012 at 05:26 UTC ( [id://1006787]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|