Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow for alternatives in "depends"
  • Loading branch information
lizmat committed Mar 16, 2014
1 parent 2b2df65 commit c308fcd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion S22-package-format.pod
Expand Up @@ -223,8 +223,16 @@ example of this would be:
"Sereal:auth<cpan:*>:ver(1..*)"
]

To indicate alternatives, it is possible to specify a list of C<use> strings,
instead of just a single use string:

"depends" : [
[ "Archive::Compress", "Archive::Zlib" ]
]

An installer has the option to automatically install any dependencies, if the
user has so indicated.
user has so indicated. Alternatives should be tried in order. The first one
for which the recommendation manager returns an identity, should be used.

=head3 emulates

Expand Down

0 comments on commit c308fcd

Please sign in to comment.