Everything mapped earlier is being cleared by setting it to "*dontdefineme", which looks like a GLOB reference, but isn't one, it's a simple scalar string. Some cronjobs walk through all scopes and remap the virtual namespaces to each individual scope after running the cleanup sub before. One of them - a very important one - started crashing yesterday just after my added "use" statements went online. What happend? Step-by-step debugging the source tracked down the crash to the "require" statement from the first snippet. It started walking through the modules processing each "use" statement and suddenly failed after processing a "use Date::Calc". The popular date manipulation module wasn't responsible for the crash, a compilation error occurred just after it had been loaded successfully.
Not enough arguments for Module::foo at SomeModule.pm line 123, near "()"
Everything is working now. I don't want to write "everything is fine", because it isn't. Torben and I decided to increase the priority of removing this piece of code - but we've to provide a solution for all other teams currently using the virtual namespace and every script has to be converted before we could remove these modules.
Warum ist 075 = 61?