Port details on branch 2022Q2 |
- p5-File-Slurp-Tree Slurp and emit file trees as nested hashes
- 1.24_1 devel =1 1.24_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2006-07-15 02:07:47
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: font-misc-meltho, screen, mkfontscale, apcupsd, python
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/File-Slurp-Tree
- Description:
- File::Slurp::Tree provides functions for slurping and emitting trees of files
and directories.
# an example of use in a test suite
use Test::More tests => 1;
use File::Slurp::Tree;
is_deeply( slurp_tree( "t/some_path" ), { foo => {}, bar => "sample\n" },
"some_path contains a directory called foo, and a file bar" );
The tree data structure is a hash of hashes. The keys of each hash are names of
directories or files. Directories have hash references as their value, files
have a scalar which holds the contents of the file.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-File-Slurp-Tree>0:devel/p5-File-Slurp-Tree
- To install the port:
- cd /usr/ports/devel/p5-File-Slurp-Tree/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-File-Slurp-Tree
- pkg install p5-File-Slurp-Tree
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-File-Slurp-Tree
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (File-Slurp-Tree-1.24.tar.gz) = 2c96db39084cd2760dc5163d64aff0ade0ee6af5f738692b3357898f2d6b04bf
SIZE (File-Slurp-Tree-1.24.tar.gz) = 3395
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-File-Find-Rule>=0 : devel/p5-File-Find-Rule
- p5-File-Slurp>=0 : devel/p5-File-Slurp
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-File-Find-Rule>=0 : devel/p5-File-Find-Rule
- p5-File-Slurp>=0 : devel/p5-File-Slurp
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-File-Slurp-Tree
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|