source: main/trunk/greenstone2/perllib/cpan/URI/urn/oid.pm@ 27174

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 
1package URI::urn::oid; # RFC 2061
2
3require URI::urn;
4@ISA=qw(URI::urn);
5
6use strict;
7
8sub 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
181;
Note: See TracBrowser for help on using the repository browser.