Last change
on this file since 27174 was 27174, checked in by davidb, 11 years ago |
Perl modules from CPAN that are used in supporting activate.pl, but not part of the Perl core. Only PMs included.
|
File size:
259 bytes
|
Line | |
---|
1 | package URI::urn::oid; # RFC 2061
|
---|
2 |
|
---|
3 | require URI::urn;
|
---|
4 | @ISA=qw(URI::urn);
|
---|
5 |
|
---|
6 | use strict;
|
---|
7 |
|
---|
8 | sub oid {
|
---|
9 | my $self = shift;
|
---|
10 | my $old = $self->nss;
|
---|
11 | if (@_) {
|
---|
12 | $self->nss(join(".", @_));
|
---|
13 | }
|
---|
14 | return split(/\./, $old) if wantarray;
|
---|
15 | return $old;
|
---|
16 | }
|
---|
17 |
|
---|
18 | 1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.