good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Crazy constant question...by SilasTheMonk (Chaplain) |
on Dec 15, 2010 at 22:16 UTC ( [id://877398]=note: print w/replies, xml ) | Need Help?? |
Have you considered Readonly. It allows the read only variables to be interpolated into strings and there is an XS implementation so ought to be fast. I found the syntax a little awkward at first. You have to use '=>' and not '=', which is obvious when you think what is going on, but not so obvious from first principles.
In Section
Seekers of Perl Wisdom
|
|