in reply to Size of the hash value

anyone who can help me?

Replies are listed 'Best First'.
Re^2: Size of the hash value
by poj (Abbot) on Feb 22, 2018 at 08:13 UTC

    Read split

    #!perl use strict; my %hash = ( test1 => "1 2 3", test2 => "4 5 6", ); for my $key (keys %hash){ my $lines = split "\n",$hash{$key}; print "$key $lines\n"; }
    poj
Re^2: Size of the hash value
by Anonymous Monk on Feb 22, 2018 at 08:14 UTC
    Sure. What you posted is raw data. There is no hash so there are no hash values. Smartalecky answer i know but you posted data not a data structure
Re^2: Size of the hash value
by Anonymous Monk on Feb 22, 2018 at 10:12 UTC
    If you don't ask a good question, you won't get a good answer.