Jack Dunnigan wrote:
> if ($^O eq "MSWin32"){
> require 'Win32::Sound';
> # There doesn't seem to be an import sub in the Sound.pm file
> }
Try calling 'import Win32::Sound' -- if Win32::Sound exports constants, it's
presumably a subclass of Exporter. So calling the import method will call
Exporter's import method if Win32::Sound doesn't define its own. Or call
'Win32::Sound->import' if you prefer. This should give you SND_ASYNC &c.
Cheers,
Philip
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]