Help for this page

Select Code to Download


  1. or download this
    use if $^O =~ /Win/, "Win32::DriveInfo";
    
  2. or download this
    if ($^O =~ /Win/) {
        require Win32::DriveInfo;
        import Win32::DriveInfo;
    }
    
  3. or download this
    BEGIN {
        if ($^O =~ /Win/) {
    ...
            import Win32::DriveInfo;
        }
    }