GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Data::Taxonomy::Tags::Tag(3) User Contributed Perl Documentation Data::Taxonomy::Tags::Tag(3)

Data::Taxonomy::Tags::Tag - Represents a single tag

    print $tag->name, " (category: ", $tag->category, ")\n";

Data::Taxonomy::Tags::Tag represents a single tag for a Data::Taxonomy::Tags object.

new
Creates a new instance of the class representing a single tag. Requires two arguments (the input tag to parse and separator arrayref). You shouldn't have to use this method yourself.
tag
name
Returns the name of the tag (that is, the tag itself) sans the category bit.
category
Returns the category the tag is in. If there is no category, then undef is returned;
as_string
Returns the full tag as a string (that is, the category, the category seperator, and the tag name all concatenated together). Overloading is used as well to automatically call this method if the object is used in a string context.

All bugs, open and resolved, are handled by RT at <https://rt.cpan.org/NoAuth/Bugs.html?Dist=Data-Taxonomy-Tags>.

Please report all bugs via <https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-Taxonomy-Tags>.

Copyright 2005, Thomas R. Sibley.

You may use, modify, and distribute this package under the same terms as Perl itself.

Thomas R. Sibley, <http://zulutango.org:82/>
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.