Yes, perl is an opportune language for spamming millions of people. It can do that, as well as many other things. Don't bother going to cpan first. Don't bother attempting your own problem, or starting your own search. Asking open-ended questions is good, and the less you know the more open-ended your question will be!