-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
26 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ use constant DEBUG => $ENV{PURL_DEBUG}; | |
|
||
use overload '""' => 'to_string', fallback => 1; | ||
|
||
our $VERSION = '2.20_2'; | ||
our $VERSION = '2.20_3'; | ||
our @EXPORT = qw(encode_purl decode_purl); | ||
|
||
my $PURL_REGEXP = qr{^pkg:[A-Za-z\\.\\-\\+][A-Za-z0-9\\.\\-\\+]*/.+}; | ||
|
@@ -283,7 +283,7 @@ URI::PackageURL - Perl extension for Package URL (aka "purl") | |
type => cpan, | ||
namespace => 'GDT', | ||
name => 'URI-PackageURL', | ||
version => '2.20' | ||
version => '2.20_3' | ||
); | ||
say $purl; # pkg:cpan/GDT/[email protected] | ||
|
@@ -296,7 +296,7 @@ URI::PackageURL - Perl extension for Package URL (aka "purl") | |
$purl = decode_purl('pkg:cpan/GDT/[email protected]'); | ||
say $purl->type; # cpan | ||
$purl_string = encode_purl(type => cpan, name => 'URI::PackageURL', version => '2.20'); | ||
$purl_string = encode_purl(type => cpan, name => 'URI::PackageURL', version => '2.20_3'); | ||
say $purl_string; # pkg:cpan/URI::[email protected] | ||
=head1 DESCRIPTION | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters