in reply to Re^3: How can I catch a failure of use?
in thread How can I catch a failure of use?

you just have to mimic what Perl does itself

Yes, I think this is the solution that the OP needs.

However, it's not really relevant to my question about *runtime* loading as anything that happens in a BEGIN{} block happens at *compile-time*.
(I'm thinking it's not possible to avoid the parentheses if a module is loaded at runtime.)

Cheers,
Rob
  • Comment on Re^4: How can I catch a failure of use?