if (my @bad = grep { /^(dualvar|set_prototype)$/ } @_ ) { ... }
And then give @bad in the error message. (This'll give a bogusly redundant list if the import spec of Scalar::Util contains bogus redundancies, but I doubt that's a problem.)
Anyway there's now a bug in the RT queue for this distro with the correct fix in it.
In reply to Re^2: "Can't happen" bugs
by gaal
in thread "Can't happen" bugs
by gaal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |