Name : perl-File-Slurp-Tree
| |
Version : 1.24
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.2.1
| Date : 2023-07-20 16:44:09
|
Group : Development/Libraries/Perl
| Source RPM : perl-File-Slurp-Tree-1.24-lp155.2.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Slurp and emit file trees as nested hashes
|
Description :
File::Slurp::Tree provides functions for slurping and emitting trees of files and directories.
use Test::More tests => 1; use File::Slurp::Tree; is_deeply( slurp_tree( \"t/some_path\" ), { foo => {}, bar => \"sample\ \" }, \"some_path contains a directory called foo, and a file bar\" );
The tree datastructure 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.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-F/15.5/noarch |