John Barnette
8/12/2008 5:01:00 PM
Hi,
On Tue, Aug 12, 2008 at 9:49 AM, Patrick Li <patrickli_2001@hotmail.com> wrote:
> Yup that does nicely. Thanks very much.
Are you sure you want to flatten that far? Why not just arrayify?
Array(1) # => 1
Array([2,3]) # => [2,3]
Array([4,[5,6]]) # => [4,[5,6]]
~ j.