If I understand you correctly, you want to package your module in a way that an attempt to install it won't also automatically cause either Archive::Zip or Archive::SevenZip to be installed, unless neither is already installed.
From looking at http://search.cpan.org/~dagolden/CPAN-Meta-2.150005/lib/CPAN/Meta/Spec.pm, I think the best you can do is make both optional ("recomends"), then have a test to make sure one of those is available.
You might be able to add code to Makefile.PL before the line with WriteMakefile, but I don't know how you could then get either archiver installed from there. Maybe you could do system 'cpan Archive::Zip';
Update: Looked again and found 1140942. Seems it is possible to modify MakeFile.PL to munge the prereqs.
In reply to Re: Dependent Package Requirement
by RonW
in thread Dependent Package Requirement
by jandrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |