Skip to content

Commit 971dde1

Browse files
authored
Update cpan-definition.md
1 parent f6b1230 commit 971dde1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

types-doc/cpan-definition.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The structure of a PURL for this package type is:
3333
## Version definition
3434

3535
- **Native Label:** version
36-
- **Note:** `The version is the distribution version.`
36+
- **Note:** `The version is the distribution version`
3737

3838
## Qualifiers Definition
3939

@@ -49,3 +49,7 @@ The structure of a PURL for this package type is:
4949
- `pkg:cpan/GDT/URI-PackageURL`
5050
- `pkg:cpan/OALDERS/libwww-perl@6.76`
5151
- `pkg:cpan/DROLSKY/DateTime@1.55?repository_url=backpan.perl.org`
52+
53+
## Note
54+
55+
The previous CPAN PURL type specification allowed module names (e.g. URI::PackageURL) to be used as PURL 'name' while also omitting the PURL 'namespace'. The parser MUST emit an error when a module is specified as a PURL 'name' or detect '::' characters.

0 commit comments

Comments
 (0)