This, by the way, is another example of why I think using import() for things other than importing is a bad idea. If the docs had said you must call Apache::Reload::register_module() instead of doing it for you magically when you use Apache::Reload, you wouldn't have wondered why it wasn't working. | [reply] |
Good point. Have you deleted strict.pm yet?
Perhaps Module::Load::Conditional should use a test like autouse does to verify whether or not import() is "special". (autouse throws up if you try to use it on a module whose import() didn't come from Exporter).
Note that I need to file a bug against autouse because it doesn't notice that it can still break things even when Exporter::import() is used because it doesn't deal with export_fail().
| [reply] |