in reply to Re^9: Why reftype and blessed are making my life harder than it needs to be (XS/_reftype) (breaking compat)
in thread Why reftype and blessed are making my life harder than it needs to be

Thats a great idea. Im just wondering how you would implement that? A custom import? Or something else?

---
$world=~s/war/peace/g

  • Comment on Re^10: Why reftype and blessed are making my life harder than it needs to be (XS/_reftype) (breaking compat)

Replies are listed 'Best First'.
Re^11: Why reftype and blessed are making my life harder than it needs to be (XS/_reftype) (VERSION)
by tye (Sage) on Feb 10, 2006 at 16:07 UTC

    See use, look for "VERSION". You need only define your own "sub VERSION", though this unfortunately might not be thread-safe (or as easy as it could be if 'import' and 'VERSION' weren't separated). Though I guess you could just use a hash keyed off the path of the including file...

    - tye