perl-Text-Tags - Perl module to parse "folksonomy" space-separated tags

Distribution: OpenMandriva Cooker
Repository: OpenMandriva Contrib x86_64
Package name: perl-Text-Tags
Package version: 0.40.0
Package release: 4-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 17.65 KB
Download size: 14.70 KB
Official Mirror:
Parses "folksonomies", which are simple space-or-comma-separated-but-optionally-quoted tag lists. Specifically, tags can be any string, as long as they don't contain both a single and a double quote. Hopefully, this is a pretty obscure restriction. In addition, all whitespace inside tags is normalized to a single space (with no leading or trailing whitespace). In a tag list string, tags can optionally be quoted with either single or double quotes. There is no escaping of either kind of quote, although you can include one type of quote inside a string quoted with the other. Quotes can also just be included inside tags, as long as they aren't at the beginning; thus a tag like joe's can just be entered without any extra quoting. Tags are separated by whitespace and/or commas, though quoted tags can run into each other without whitespace. Empty tags (put in explicitly with "" or '') are ignored. (Note that commas are not normalized with whitespace, and can be included in a tag if you quote them.) Why did the previous paragraph need to be so detailed? Because Text::Tags::Parser always successfully parses every line. That is, every single tags line converts into a list of tags, without any error conditions. For general use, you can just understand the rules as being separate tags with spaces or commas, and put either kind of quotes around tags that need to have spaces.



  • perl(Text::Tags) == 0.40.0
  • perl(Text::Tags::Parser)
  • perl-Text-Tags == 0.40.0-4:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Text-Tags rpm package:
      # urpmi perl-Text-Tags


    • /usr/lib/perl5/vendor_perl/5.20.1/Text/
    • /usr/lib/perl5/vendor_perl/5.20.1/Text/Tags/
    • /usr/share/doc/perl-Text-Tags/Changes
    • /usr/share/doc/perl-Text-Tags/README
    • /usr/share/man/man3/Text::Tags.3pm.xz
    • /usr/share/man/man3/Text::Tags::Parser.3pm.xz