Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: For loop suggestions

by roboticus (Chancellor)
on Jan 11, 2013 at 11:45 UTC ( [id://1012867]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    use DBI;
    ...
    EOSQL
    print "Minimum value found: $$ar[0][0]\n"
    .     "Maximum value found: $$ar[0][1]\n";
    
  2. or download this
    my ($min, $max);
    for my $rec (@records) {
    ...
        $max = $$rec[$colNum] if !defined($max) or $$rec[$colNum]>$max;
    }
    print "Values used are between $min and $max\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-23 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found