in reply to Re^6: Dynamic Package Name & Subroutine Call
in thread Dynamic Package Name & Subroutine Call

That has always searched main's inheritance tree in the case where &main::fudge didn't exist, and that's not the right thing for subs.
  • Comment on Re^7: Dynamic Package Name & Subroutine Call

Replies are listed 'Best First'.
Re^8: Dynamic Package Name & Subroutine Call
by Anonymous Monk on Dec 21, 2012 at 03:42 UTC

    That has always searched main's inheritance tree in the case where &main::fudge didn't exist, and that's not the right thing for subs.

    Sure, but setting up an inheritance tree for main is the bug :)