in reply to Maximum sub-arrays?

There is no limit (beyond memory) with perl's array, nested or otherwise.

GD produces erratic results.

Could you elaborate? Show a little code? You're more likely to get a useful answer if you do.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail