Bio::DB::Tagger::Tag(3pm)

Bio::DB::Tagger::Tag3pm

Usage

 use Bio::DB::Tagger::Tag;
 my $tag = Bio::DB::Tagger::Tag->new(-name   => 'venue',
                                     -value  => 'mermaid parade',
                                     -author => '[email protected]');
 print $tag,"\n";          # use like a string
 print $tag->name,"\n";    # object interface
 print $tag->value,"\n";   # object interface
 print $tag->author,"\n";

Overview

This is a simple object tag interface that provides string-like objects that have authors assigned to them. For use in attributing tags to authors in the Bio::DB::Tagger module.

Methods

$tag = Bio::DB::Tagger::Tag->new(-name=>$tag, -author=>$author [,-value=> $value, ,-modified=>$timestamp]);

Create a new tag with the indicated value and author.

$name = $tag->name

Return the tag's name.

$value = $tag->value;

Return the tag's value.

$timestamp = $tag->modified

Return the tag's modification timestamp.

$author = $tag->author;

Return the tag's author

$int = $tag->cmp($tag,$reversed)

Perform a string cmp() operation on another tag or a string. If a string is provided, then operation is on tag name only. If a tag is provided, then operation is on both tag and value.

$string = $tag->asString

Convert into a name:value string

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Lincoln Stein <[email protected]>.

Copyright (c) 2009 Ontario Institute for Cancer Research

This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.

From gbrowse 2.56+dfsg-12 in Debian 13 (Trixie). Parsed by carta from the page's man source.