TM::DM

TM::DM is a Perl module with Topic Maps, read-only TMDM layer.
Download

TM::DM Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Robert Barta
  • Publisher web site:
  • http://search.cpan.org/~drrho/TM-1.43/lib/TM/PSI.pm

TM::DM Tags


TM::DM Description

TM::DM is a Perl module with Topic Maps, read-only TMDM layer. TM::DM is a Perl module with Topic Maps, read-only TMDM layer.SYNOPSIS # somehow acquire a map (see TM and its subclasses) my $tm = .... # put a TMDM layer on top of it use TM::DM; my $tmdm = new TM::DM (map => $tm); # get the TMDM topic map item my $topicmap = $tmdm->topicmap; # ask for all topics my @topics = $topicmap->topics; # for all associations my @assocs = $topicmap->associations; # get a particular topic my $adam = $topicmap->topic ('adam'); # get some of its properties $adam->id; $adam->subjectLocators; $adam->subjectIdentifiers; $adam->parent; my @ns = $adam->names; my @os = $adam->occurrence; # similar for assocs my @as = $topicmmap->associations (iplayer => 'adam'); $as->type; $as->parent; my @rs = $as->roles; Requirements: · Perl


TM::DM Related Software