Thomas Schwinge wrote: > It needs some tiny midifications to get it working: See the attached > patch. Oops. Thanks for the fixes. > Since this is the first time I wrote something in perl, I'd be glad if > someone with perl experience - Paul :-) - could have a look at it. It looks ok, although I'm not a big fan of non-tail recursion, so I made some changes. paul