I use the same trick for conditional compilations.
In reply to Re: Are "use constant" constants really inlined? by shawnhcorey in thread Are "use constant" constants really inlined? by Darkwing