BSD Ports

textproc/p5-String-Tagged 0.24 MidnightBSD

Sstring buffers with value tags on extents

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
textproc, perl5

Description

String::Tagged implements an object class, instances of which store a (mutable) string buffer that supports tags. A tag is a name/value pair that applies to some non-empty extent of the underlying string.

The types of tag names ought to be strings, or at least values that are well-behaved as strings, as the names will often be used as the keys in hashes or applied to the eq operator.

The types of tag values are not restricted - any scalar will do. This could be a simple integer or string, ARRAY or HASH reference, or even a CODE reference containing an event handler of some kind.

Tags may be arbitrarily overlapped. Any given offset within the string has in effect, a set of uniquely named tags. Tags of different names are independent. For tags of the same name, only the latest, shortest tag takes effect.

In the other systems

SystemPortVersion
MidnightBSDtextproc/p5-String-Tagged0.24
FreeBSDtextproc/p5-String-Tagged0.24
OpenBSDdevel/p5-String-Tagged0.24p0
NetBSDdevel/p5-String-Tagged0.24nb3
DragonFlytextproc/p5-String-Tagged0.24
HardenedBSDtextproc/p5-String-Tagged0.24
GhostBSDtextproc/p5-String-Tagged0.24

Install

Binary package:

mport install p5-String-Tagged

From mports:

cd /usr/mports/textproc/p5-String-Tagged && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-String-Tagged>0:textproc/p5-String-Tagged

Dependencies

As this port's Makefile names them.

Test 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 10
  • %%SITE_PERL%%/String/Tagged/Formatting.pod
  • %%SITE_PERL%%/String/Tagged/Extent.pm
  • %%SITE_PERL%%/String/Tagged.pm
  • @dir %%SITE_ARCH%%/auto/String/Tagged
  • @dir %%SITE_ARCH%%/auto/String
  • @dir %%SITE_ARCH%%/auto
  • @dir
  • @dir %%SITE_PERL%%/String/Tagged
  • @dir %%SITE_PERL%%/String
  • @dir
distinfo 1
FileSizeSHA256
String-Tagged-0.24.tar.gz47547a3d9ba61af5a419fa4ca40cd084a62642b4ef6533cc42a209f8f7f63e21d74a9
Master sites 1
  • CPAN