in reply to dynamically loading modules/maintaining dev v. prod modules

Enclose your code above in a BEGIN block. It will be evaluated at compile-time.

Update: Drat! Beaten to the punch again!

Update 2

Well, I'll be snookered! I wasn't sure about that behavior (though I should know to trust wog by now), because BEGIN also runs at compile time, but I tested it and indeed, it is so! My most humble apologies and wog++.

-HZ
  • Comment on Re: dynamically loading modules/maintaining dev v. prod modules