in reply to Re^2: Problem calling a function with name stored into scalar
in thread Problem calling a function with name stored into scalar

Yeah, see my update. &Module::Configurable::is_int existed at compile-time, but not at run-time.
  • Comment on Re^3: Problem calling a function with name stored into scalar

Replies are listed 'Best First'.
Re^4: Problem calling a function with name stored into scalar
by tj_thompson (Monk) on Jun 10, 2011 at 23:09 UTC
    Oh, good call on the namespace cleaning! Module::Configurable is a Moose role that is being consumed by the class I'm using for test. I'm using namespace::autoclean in both modules though. I'm now betting I shouldn't be using that in the Module::Configurable role. I'll check it out.
Re^4: Problem calling a function with name stored into scalar
by tj_thompson (Monk) on Jun 10, 2011 at 23:18 UTC
    You nailed it ike. After removing the namespace::autoclean use statement in the role, the test code now works as expected. Many thanks for the help late on a Friday and have a great weekend :)