Bio::D...r::Tag(3pm)
π NAME π
Bio::DB::Tagger::Tag β Authored tags β¨
Ok bestie, quick vibe check: this page is the manual for Bio::DB::Tagger::Tag, part of the Perl docs (that's the 3pm energy right there). Let's get into it π«Ά
π¦ SYNOPSIS π¦
use Bio::DB::Tagger::Tag;
my $tag = Bio::DB::Tagger::Tag->new(-name => 'venue',
-value => 'mermaid parade',
-author => 'lincoln.stein@gmail.com');
print $tag,"\n"; # use like a string
print $tag->name,"\n"; # object interface
print $tag->value,"\n"; # object interface
print $tag->author,"\n";
Like. Look at her. She's a whole object AND she stringifies. Main character energy fr fr π
πΈ DESCRIPTION πΈ
So basically this is a simple object tag interface that hands you string-like objects that have authors assigned to them π The whole point is so you can attribute tags to authors inside the Bio::DB::Tagger module. That's it, that's the gig. No cap.
π METHODS π
$tag = Bio::DB::Tagger::Tag->new(-name=>$tag, -author=>$author [,-value=> $value, ,-modified=>$timestamp]);β Make a brand new tag with the value and author you indicated π (name and author are the must-haves, value and modified are the optional little extras).$name = $tag->nameβ Hands you back the tag's name π$value = $tag->value;β Hands you back the tag's value π$timestamp = $tag->modifiedβ Hands you back the tag's modification timestamp β°$author = $tag->author;β Hands you back the tag's author β¨$int = $tag->cmp($tag,$reversed)β Does a stringcmp()operation on another tag or a plain string π§ Here's the tea: if you pass in a string, the operation is on the tag name only. If you pass in a tag, the operation is on both tag and value. Iykyk.$string = $tag->asStringβ Converts it into aname:valuestring π
π SEE ALSO π
Bio::DB::Tagger
π AUTHOR π
Lincoln Stein <lincoln.stein@gmail.com>.
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.
Bestie, that license bit is real talk β if you're gonna redistribute or modify this, you gotta play by the GPL (version 1, or later if you want) or the Artistic License 2.0 rules. Full text lives inLICENSE, and the warranty disclaimers live inDISCLAIMER.txt. Read them, don't skip them π
And that's the whole page, bestie π This one came from the perl v5.40.0 docs, dated 2024-10-20. Slay, go tag something β¨ππ¦
π¦ where this page comes from
- ubuntu questing: gbrowse 2.56+dfsg-12build4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms