Since you can only set one alarm, you have to use clever programming to make it act like multiple alarms. Each time it goes off, figure out when the next alarm should go off, then set a new alarm for that time.
You could also see if somebody's already written a handler for multiple alarms on CPAN, which could save you from re-inventing the wheel.
Good luck!