textproc/p5-Text-Filter 1.10_1 FreeBSD
Base class for objects that can read and write text lines
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- textproc, perl5
- Package size
- 16.5 KiB, 36.5 KiB installed
Description
A plethora of tools exist that operate as filters: they get data from a source, operate on this data, and write possibly modified data to a destination. In the Unix world, these tools can be chained using a technique called pipelining, where the output of one filter is connected to the input of another filter. Some non-Unix worlds are reported to have similar provisions.
To create Perl modules for filter functionality seems trivial at first. Just open the input file, read and process it, and write output to a destination file. But for really reusable modules this approach is too simple. A reusable module should not read and write files itself, but rely on the calling program to provide input as well as to handle the output.
Text::Filter is a base class for modules that have in common that they process text lines by reading from some source (usually a file), manipulating the contents and writing something back to some destination (usually some other file).
This module can be used 'as is', but its real power shows when used to derive modules from it.
-Anton <[email protected]>
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Text-Filter | 1.10_1 |
| DragonFly | textproc/p5-Text-Filter | 1.10_1 |
Install
Binary package:
pkg install p5-Text-Filter
From the ports tree:
cd /usr/ports/textproc/p5-Text-Filter/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Text-Filter>0:textproc/p5-Text-Filter
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.10_1 | 1.10_1 | 1.10_1 | 1.10_1 | 1.10_1 |
| FreeBSD:14:quarterly | 1.10_1 | 1.10_1 | n/a | 1.10_1 | 1.10_1 |
| FreeBSD:15:latest | 1.10_1 | 1.10_1 | n/a | 1.10_1 | 1.10_1 |
| FreeBSD:15:quarterly | 1.10_1 | 1.10_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.10_1 | 1.10_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%PERL5_MAN3%%/Text::Filter.3.gz
- %%PERL5_MAN3%%/Text::Filter::Cooked.3.gz
- %%SITE_PERL%%/Text/Filter.pm
- %%SITE_PERL%%/Text/Filter/Cooked.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Text-Filter-1.10.tar.gz | 13870 | 3cc212fc827aa53ab2d7a3de0912da48c9a388ad6540dbf0fdbdc39a8d32c18e |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.