perl-Text-Tags-0.04-alt1_9.noarch.rpm


Advertisement

Description

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

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Text-Tags
Package version 0.04
Package release alt1_9
Package architecture noarch
Package type rpm
Installed size 10.87 KB
Download size 10.87 KB
Official Mirror ftp.altlinux.org
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.

Alternatives

Package Version Architecture Repository
perl-Text-Tags - - -

Requires

Name Value
/usr/share/perl5 -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Text/Tags.pm) = 0.040
perl(Text/Tags/Parser.pm) -
perl-Text-Tags = 0.04-alt1_9

Download

Type URL
Binary Package perl-Text-Tags-0.04-alt1_9.noarch.rpm
Source Package perl-Text-Tags-0.04-alt1_9.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Text-Tags rpm package:
    # sudo apt-get install perl-Text-Tags

Files

Path
/usr/share/doc/perl-Text-Tags-0.04/Changes
/usr/share/doc/perl-Text-Tags-0.04/README
/usr/share/perl5/Text/Tags.pm
/usr/share/perl5/Text/Tags/Parser.pm

See Also

Package Description
perl-Text-Template-Compact-0.1.12-alt1.noarch.rpm text base template expand module
perl-Text-Template-Inline-0.13-alt1.noarch.rpm Easy formatting of hierarchical data
perl-Text-Template-Library-0.04-alt1.noarch.rpm a derived class of Text::Template
perl-Text-Template-LocalVars-0.04-alt1.noarch.rpm Text::Template with localized variables
perl-Text-Template-Simple-0.90-alt1.noarch.rpm Simple text template engine
perl-Text-TemplateFill-1.7-alt1.noarch.rpm perl module Text-TemplateFill
perl-Text-TemplateLite-0.01-alt1.noarch.rpm Pure-Perl text templates with bare-bones syntax,
perl-Text-TemplateLite-Standard-0.03-alt1.noarch.rpm Standard function library for templates
perl-Text-Templet-3.0-alt1.noarch.rpm general purpose text template processor
perl-Text-TermExtract-0.02-alt1.noarch.rpm Extract terms from text
perl-Text-Textile-2.13-alt1_11.noarch.rpm A humane web text generator
perl-Text-Textile-Plaintext-0.101-alt1.noarch.rpm Convert Textile markup to plain-text, PS or RTF output
perl-Text-Textile-Plaintext-scripts-0.101-alt1.noarch.rpm Text-Textile-Plaintext scripts
perl-Text-Thesaurus-Aiksaurus-0.0.0-alt1.noarch.rpm perl module Text-Thesaurus-Aiksaurus
perl-Text-Thesaurus-ISO-1.0-alt1.noarch.rpm A class to handle ISO thesaurii
Advertisement
Advertisement