perl-Data-Tools - set of basic functions for data manipulation

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-Tools-1.20-alt1.noarch.rpm
Package name perl-Data-Tools
Package version 1.20
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 63.05 KB
Installed size 63.05 KB
use Data::Tools qw( :all );  # import all functions
use Data::Tools;             # the same as :all :)
use Data::Tools qw( :none ); # do not import anything, use full package names
my $res     = file_save( $file_name, 'file content here' );
my $content = file_load( $file_name );
my $file_modification_time_in_seconds = file_mtime( $file_name );
my $file_change_time_in_seconds       = file_ctime( $file_name );
my $file_last_access_time_in_seconds  = file_atime( $file_name );
my $file_size                         = file_size(  $file_name );
my $res  = dir_path_make( '/path/to/somewhere' ); # create full path with 0700
my $res  = dir_path_make( '/new/path', MASK => 0755 ); # ...with mask 0755
my $path = dir_path_ensure( '/path/s/t/h' ); # ensure path exists, check+make
my $hash_str = hash2str( $hash_ref ); # convert hash to string "key=value\n"
my $hash_ref = str2hash( $hash_str ); # convert str "key-value\n" to hash
my $hash_ref = url2hash( 'key1=val1&key2=val2&testing=tralala);
my $hash_ref_with_upper_case_keys = hash_uc( $hash_ref_with_lower_case_keys );
my $hash_ref_with_lower_case_keys = hash_lc( $hash_ref_with_upper_case_keys );
hash_uc_ipl( $hash_ref_to_be_converted_to_upper_case_keys );
hash_lc_ipl( $hash_ref_to_be_converted_to_lower_case_keys );
my $res      = hash_save( $file_name, $hash_ref );
my $hash_ref = hash_load( $file_name );
my $validate_hr = {
A => 'INT',
B => 'INT(-5,...


Package Version Architecture Repository
perl-Data-Tools - - -


Name Value
/usr/share/perl5 -
perl(Date/ -
perl( -
perl(Digest/ -
perl(Digest/ -
perl(Digest/ -
perl(File/ -
perl(Hash/ -
perl(Math/ -
perl(Time/ -
perl(Time/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Data/ = 1.200
perl(Data/Tools/ = 1.200
perl(Data/Tools/ = 1.200
perl(Data/Tools/ = 1.200
perl-Data-Tools = 1.20-alt1


Type URL
Binary Package perl-Data-Tools-1.20-alt1.noarch.rpm
Source Package perl-Data-Tools-1.20-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Data-Tools rpm package:
    # sudo apt-get install perl-Data-Tools



See Also

Package Description
perl-Data-ToruCa-0.06-alt1.noarch.rpm perl module Data-ToruCa
perl-Data-Transactional-1.04-alt1.noarch.rpm data structures with RDBMS-like transactions
perl-Data-Transform-0.06-alt1.noarch.rpm base class for protocol abstractions
perl-Data-Transform-ExplicitMetadata-0.08-alt1.noarch.rpm Encode Perl values in a json-friendly way
perl-Data-Transform-SAXBuilder-0.05-alt1.noarch.rpm A filter for parsing XML with L<XML::LibXML>
perl-Data-Transform-SSL-0.03-alt1.noarch.rpm SSL in a filter
perl-Data-Transform-Zlib-0.02-alt1.noarch.rpm A Filter for RFC195[0-2]
perl-Data-Transformer-0.04-alt2_9.noarch.rpm Traverse a data structure, altering it in place
perl-Data-Transit-0.8.04-alt1.noarch.rpm Perl implementation of the transit format
perl-Data-Transmute-0.035-alt1.noarch.rpm Transmute (transform) data structure using rules data
perl-Data-Transmute-Rules-DNS-Zone-Struct-FromSpanel-0.001-alt1.noarch.rpm Convert Spanel DNS zone structure to that accepted by DNS::Zone::Struct::To::BIND (Sah::Schema::dns
perl-Data-Transpose-0.0023-alt1.noarch.rpm Transpose, filter and validate data
perl-Data-Traverse-0.03-alt1.noarch.rpm perl module Data-Traverse
perl-Data-Tree-0.16-alt1.noarch.rpm a hash-based tree-like data structure
perl-Data-TreeDraw-0.0.5-alt1.noarch.rpm perl module Data-TreeDraw