OBO::Core::IDspace - A mapping between a "local" ID space and a "global" ID space.
use OBO::Core::IDspace;
use strict;
my $idspace = OBO::Core::IDspace->new();
$idspace->local_idspace("CCO");
$idspace->uri("http://www.cellcycleontology.org/ontology/CCO");
$idspace->description("cell cycle ontology terms);
A mapping between a "local" ID space and a "global" ID space.
Erick Antezana, <erant@psb.ugent.be>
Copyright (C) 2007, 2008 by Erick Antezana
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
Usage - print $idspace->local_idspace() or $idspace->local_idspace($local_idspace) Returns - the local ID space (string) Args - the local ID space (string) Function - gets/sets the local ID space
Usage - print $idspace->uri() or $idspace->uri($uri) Returns - the URI (string) of this ID space Args - the URI (string) of this ID space Function - gets/sets the URI of this ID space
Usage - print $idspace->description() or $idspace->description($description) Returns - the idspace description (string) Args - the idspace description (string) Function - gets/sets the idspace description
Usage - print $idspace->as_string() Returns - returns this idspace (local_idspace uri "description") as string if it is defined; otherwise, undef Args - none Function - returns this idspace as string
Usage - print $idspace->equals($another_idspace) Returns - either 1(true) or 0 (false) Args - the idspace(OBO::Core::IDspace) to compare with Function - tells whether this idspace is equal to the parameter
To install OBO::Util::Set, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OBO::Util::Set
CPAN shell
perl -MCPAN -e shell install OBO::Util::Set
For more information on module installation, please visit the detailed CPAN module installation guide.