in reply to Resolving 'prototype mismatch' warning
Bleh. Those modules are automatically importing names into main? Turn that crap off!
Update: It's worse than I thought. Both of those modules do EXPORT rather than EXPORT_OK. Ugh. Have you ever wanted to strangle a programmer with his own entrails?
Well, so... remember that Exporter::import imports the names into your current namespace, which is only main by default. So you could set up a separate namespace for each test. That would be one good way to avoid namespace pollution/collisions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Resolving 'prototype mismatch' warning
by Corion (Patriarch) on Feb 15, 2016 at 14:22 UTC | |
|
Re^2: Resolving 'prototype mismatch' warning
by 1nickt (Canon) on Feb 15, 2016 at 14:36 UTC |