summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/site/lib/URI/urn/oid.pm
blob: 7d38bc9f73ea5da707cb5ca076e361fd5c4badcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package URI::urn::oid;  # RFC 2061

use strict;
use warnings;

our $VERSION = '1.71';
$VERSION = eval $VERSION;

use parent 'URI::urn';

sub oid {
    my $self = shift;
    my $old = $self->nss;
    if (@_) {
	$self->nss(join(".", @_));
    }
    return split(/\./, $old) if wantarray;
    return $old;
}

1;