Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

(Golf) Grocery Bagging

by tadman (Prior)
on May 23, 2001 at 15:19 UTC ( [id://82512] : perlmeditation . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        @o = qw [ 14 6 1 22 4 2 7 6 ];
    
        @b = f(15,@o);    # "Container size" = 15
    
  2. or download this
        @b = ( [14,1], [ 7, 6, 2], [4, 6], 22);