-
-
Save wchristian/7194119 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use DDP; | |
use Win32::DriveInfo; | |
for my $func (qw(DriveType VolumeInfo)) { | |
for my $drv (qw(a c)) { | |
$res{$func . "-" . $drv} = [ Win32::DriveInfo->can($func)->($drv) ]; | |
} | |
} | |
$res{GetVersionEx} = Win32::DriveInfo::GetVersionEx(); | |
p(%res); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment