BSD Ports

devel/p5-Data-Binary 0.01 MidnightBSD

Simple detection of binary versus text in strings

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic2
Categories
devel, perl5

Description

Data::Binary provides string equivalents to the -T / -B operators. Since these only work on file names and file handles, this module provides the same functions but on strings.

Note that the actual implementation is currently different, basically because the -T / -B functions are in C/XS, and this module is written in pure Perl. For now, anyway.

In the other systems

SystemPortVersion
MidnightBSDdevel/p5-Data-Binary0.01
FreeBSDdevel/p5-Data-Binary0.01
NetBSDdevel/p5-Data-Binary0.01nb8
DragonFlydevel/p5-Data-Binary0.01
HardenedBSDdevel/p5-Data-Binary0.01
GhostBSDdevel/p5-Data-Binary0.01

Install

Binary package:

mport install p5-Data-Binary

From mports:

cd /usr/mports/devel/p5-Data-Binary && make install clean

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

RUN_DEPENDS=	p5-Data-Binary>0:devel/p5-Data-Binary

Dependencies

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Data/Binary.pm
  • %%PERL5_MAN3%%/Data::Binary.3.gz
distinfo 1
FileSizeSHA256
Data-Binary-0.01.tar.gz34194821a2de10ac7108f4dcb284a71b876981b0cb1ea6c5ed6afb177bf2e7cb8d73
Master sites 1
  • CPAN