AFAIK, there's no clean perl way to play sound on Windows and Unix.
(But I'm not an expert!)
So a acceptable strategy could be to use a cross-platform sound player.
(A quick search gave me :
Sox not really a player but rather a portable sound library)
Or put the path/name of the sound player as an OS dependant variable...
(Ok this one is rather dirty, but SO simple)
There are a lot of OS-specific simple command line player..
A CPAN search seems to suggest
Audio-SoundFile-0.14
(based on
libsndfile
which is a portable sound lib too)