Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Max value

by thanos1983 (Parson)
on Apr 16, 2019 at 15:37 UTC ( #1232674=note: print w/replies, xml ) Need Help??


in reply to Re^2: Max value
in thread Max value

Hello ameezys,

You do not need to post your whole code unless if it is necessary. If I run your code I can see the array that you want the max value contains:

$VAR1 = [ 1, 1, 3 ];

So a sample of data like that (see below):

my @array = qw(1 1 3); print Dumper \@array; __END__ $VAR1 = [ 1, 1, 3 ];

Would be sufficient, but my answer to your question is already covered :).

BR / Thanos

Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1232674]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2020-06-04 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (30 votes). Check out past polls.

    Notices?