Revision 27312

Date:
2009/06/29 23:44:51
Author:
lwall
Revision Log:
[S11] some notes on ambiguous authority specs
Files:

Legend:

 
Added
 
Removed
 
Modified
  • docs/Perl6/Spec/S11-modules.pod

     
    12 12
    13 13 Created: 27 Oct 2004
    14 14
    15 Last Modified: 30 Mar 2009
    16 Version: 28
    15 Last Modified: 29 Jun 2009
    16 Version: 29
    17 17
    18 18 =head1 Overview
    19 19
     
    401 401
    402 402 to guarantee that you get the unembraced Perl. C<:-)>
    403 403
    404 When it happens that the same module is available from more than one
    405 authority, and the desired authority is not specified by the C<use>,
    406 the version lineage that was created first wins, unless overridden by
    407 local policy or by official abandonment by the original authority (as
    408 determined either by the author or by community consensus in case the
    409 author is no longer available or widely regarded as uncooperative).
    410 An officially abandoned lineage will be selected only if it is the
    411 only available lineage of locally installed modules.
    412
    413 Once the authority is selected, then and only then is any version
    414 selection done; the version specification is ignored until the
    415 authority is selected. This implies that all official modules record
    416 permanently when they were first installed in the official library,
    417 and this creation date is considered immutable.
    418
    404 419 For wildcards any valid smartmatch selector works:
    405 420
    406 421 use Dog:ver(v1.2.1 | v1.3.4):auth(/:i jrandom/);