"be consistent" | |
PerlMonks |
Re: Ceiling elements of an array!by hippo (Bishop) |
on May 06, 2015 at 09:09 UTC ( [id://1125813]=note: print w/replies, xml ) | Need Help?? |
don't know if there is a way to ceil the number of elements inside an array? There is never any need to ceil the number of elements inside an array because arrays only ever have integral numbers of elements. Get a list of modules if number of modules is 8 ceiling(6/2)= ceiling(3)=3 It is unclear to me where you get that "6" from. Are you sure you have understood the spec?
In Section
Seekers of Perl Wisdom
|
|