|Do you know where your variables are?|
Re: Perl/TK: how to set defaults for the whole script?by AnomalousMonk (Canon)
|on Oct 24, 2012 at 21:04 UTC||Need Help??|
... keep it in a variable ...
Not being quite as adventurous as choroba or kcott, I will often use a constant for something like this. The other alternative is a Readonly hash, but Readonly imposes execution overhead that may be undesirable. The functional approach of stefbv is also nice.