I am creating a script that runs both on win9x and NT/2000/XP and based on which OS the script is run on, certain OS specific features are performed with modules like Win32::Service. When I run the script in a Win9x environment I get an error; "The Win32::Service module works only on Windows NT". Is there a way to tell perl which load modules based on OS at script start-up/compilation?
Thx. Dave