in reply to Re^3: reaching into a perl script from a package
in thread reaching into a perl script from a package

We appear to be miscommunicating... I made no mention of do in my reply, nor used it in my code. I do not recommend its use for something like this. The point of my previous post was to illustrate that the OP can require the file, but anything in it will be executed. It was a cautionary example.

Hopefully I'm not missing anything in your reply that would make it pertinent to mine.

---
It's all fine and dandy until someone has to look at the code.

Replies are listed 'Best First'.
Re^5: reaching into a perl script from a package
by CountZero (Bishop) on Oct 02, 2006 at 22:07 UTC
    Oops, sorry. I replied to the wrong node. It was meant as an answer for the OP.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law