in reply to recording sound with perl under win32?
You could take a look at Win32::Multimedia which uses the MCI api
Which is microsofts general purpose interface to multimedia devices from cds to vcrs !
While you are at it, you'll probably want to look at Audio::Wav and Win32::Sound
Enjoy
The Cat