Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Puzzle: need a more general algorithm

by Ovid (Cardinal)
on Jul 08, 2002 at 19:13 UTC ( #180276=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my @height = qw/ 10 15 25 30 10 13 /;
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        $columns[$a] -= $height[1];
    }
    print Dumper \@distribution;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://180276]
Approved by gav^
Front-paged by FoxtrotUniform
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2023-03-22 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?