It looks like the PM node cited in the first reply does not handle audio output. But if you do a search on CPAN for "Morse", you'll find: Acme::Morse::Audible
... which probably isn't exactly what you want either, but it probably does provide a model from which you could adapt a slightly different version to do what you really want.