Name : perl-File-Slurp-Tree
| |
Version : 1.24
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 2.61
| Date : 2024-08-05 19:08:41
|
Group : Development/Libraries/Perl
| Source RPM : perl-File-Slurp-Tree-1.24-2.61.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
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/openSUSE_Tumbleweed/noarch |