NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Constant versus ReadOnly (Score:1)
If you can define constants such that they will be compiled out, and in doing so make your code smaller, faster or simpler, then constants are a good thing.
use constant UNIX =
eval UNIX ? 'END_UNIX' : 'END_OTHER';
etc
etc
And so now you have smaller faster unix-specific code paths...
Re:Constant versus ReadOnly (Score:1)
Reply to This
Parent
Re:Constant versus ReadOnly (Score:1)
Use the :-)
ecodetags, Luke.