in reply to grouping email addr to send

This little snippet should steer you in the right direction.
#!/usr/bin/perl use strict; use warnings; my @list = (qw|one two three four five six seven eight nine ten eleven +|); while (my @subset = splice(@list,0,8)) { print join(' ',@subset), $/; }
You can just replace the print statement with your mail command.

Replies are listed 'Best First'.
Re^2: grouping email addr to send
by Anonymous Monk on Jan 31, 2006 at 22:06 UTC
    Thanks for all your help, it works wonderfully.... Exactly what I was looking for... Thanks again...