in reply to The biggest value in array 2 dimensin

For 2d:

use List::Util qw[ max maxstr ]; my @data2d = ...; my $max = max( map max( @$_, ), @data2d );

Or for multi-dimensional:

use List::Util qw[ max ];; sub maxNd { max( map{ ref() ? maxNd( @$_ ) : $_ } @_ ) };; my @b = ...;; print maxNd( @b );; 9981

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy