Since perl 5.11 Switch is deprecated and should be installed from CPAN. Here's appropriate ebuild (also available at my overlay). Reproducible: Always
Created attachment 259246 [details] ebuild
@Oleg you need to redo the attachment.
Created attachment 259248 [details] Here's valid one
Do we need an ebuild for Switch in the tree?
My personal opinion is you should migrate code away from Switch.pm and instead use Perl5.10+'s native given statement. Switch.pm has been removed from core for a very good reasons, is broken, its dangerous, and there are better ways of doing it that are now part of the core language. Having Switch.pm in tree sounds like the wrong approach if you ask me.
Yah, I know. But Gentoo is my dev platform. I simply can't migrate to 5.10+ 'cause my scripts running on different servers and I can't predict wheter 5.10+ is available there. I'm already started work to get rid of Switch, but it takes months and there should be a way for others users as well who runs 5.10+ with older scripts to get rid of ugly warning and focus on their primary work and not to waste it to convience programmers to fix their ugly scripts.
Perhaps it would be suited if it was added and masked ? With a big nasty warning on the mask?
Ok.
I've added Switch to the tree. Some packages still need it.