in reply to Subtraction by digit
Thanks, just reread the doco for List::MoreUtils. I really must remember to do that anytime there is a list processing problem that doesn't quite fit standard techniques