in reply to Re^2: question to a complex structure of hash/array
in thread question to a complex structure of hash/array

Hello!

>push @results, @array; extends @results by the elements of @array, it doesn't "push an array", as all the elements of an array must be scalars. You can push an array reference, though:

yes, thanks, so to getting it keep as an array, I push it to a hash.

e.g.
my %plotx; my $i; my @xfix; push @{$plotx{$i}}, @xfix;
Regards, buchi

Replies are listed 'Best First'.
Re^4: question to a complex structure of hash/array
by buchi2 (Acolyte) on Aug 09, 2017 at 08:10 UTC
    Hello!

    Putting the whole data, it is to much data. I think, I will resign the fight at this construction area and will make a workaround, that I will print out the data from the array, which contains a hash, which contains an array element by element and the read it into the new array, which is part of a hash.

    Regards, buchi