in reply to Conditionally including modules

You could string eval it:
if ($^O =~ 'Win') { eval 'use Win32::DriveInfo;'; }

Caution: Contents may have been coded under pressure.