Can a regex or PPI be used to check the expression? If the rhs is a reference to $VERSION from another package, scan that package?
That's actually what I was going to try out. It should be possible to use the same magic regex to notice that something weird is going on and defer the current module's output until some other module has been checked first. It will mean that the code cannot be streamy anymore (at least some things will have to be hashed), but it shouldn't be too hard to support any realistic depth of redirections (as long as I can detect a loop).
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
