textproc/p5-String-Tokenizer 0.06
Simple string tokenizer
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- textproc, perl5
- Package size
- 14.2 KiB, 28.5 KiB installed
Description
A simple string tokenizer which takes a string and splits it on whitespace. It also optionally takes a string of characters to use as delimiters, and returns them with the token set as well. This allows for splitting the string in many different ways.
This is a very basic tokenizer, so more complex needs should be either addressed with a custom written tokenizer or post-processing of the output generated by this module. Basically, this will not fill everyones needs, but it spans a gap between simple split / /, $string and the other options that involve much larger and complex modules.
Also note that this is not a lexical analyser. Many people confuse tokenization with lexical analysis. A tokenizer mearly splits its input into specific chunks, a lexical analyzer classifies those chunks. Sometimes these two steps are combined, but not here.
Install
As a binary package — by origin, or by package name:
pkg install textproc/p5-String-Tokenizer
pkg install p5-String-Tokenizer
From the ports tree:
cd /usr/ports/textproc/p5-String-Tokenizer/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-String-Tokenizer>0:textproc/p5-String-Tokenizer
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 | 0.06 | 0.06 | 0.06 | 0.06 | 0.06 |
| FreeBSD:14:quarterly | 0.06 | 0.06 | n/a | 0.06 | 0.06 |
| FreeBSD:15:latest | 0.06 | 0.06 | n/a | 0.06 | 0.06 |
| FreeBSD:15:quarterly | 0.06 | 0.06 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.06 | 0.06 | 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.
All build dependencies 1
All run dependencies 1
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/String::Tokenizer.3.gz
- %%SITE_PERL%%/String/Tokenizer.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| String-Tokenizer-0.06.tar.gz | 16118 | a921507044b7db43a06abb96bc0aeedafdc68657dd21d3f5a8cfd37d2478e697 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.