Hi there
When I try to run a run a sample srcript with Win32:Dirsize call I get the error: Can't locate Win32/DirSize.pm in @INC
I use: Windows 2008- 64 bits and Perl 5.20.1.1-32bit
I did run cmd as administrator and used the commands
Output:cpan install Win32::DirSize
cpan> install Win32::DirSize.pm Running install for module 'Win32::DirSize' ARICH/Win32-DirSize-1.13.tar.gz Has already been unwrapped into directory C:\STRAWB~1\cpan\build\Win +32-DirSize-1.13-UTo9oV ARICH/Win32-DirSize-1.13.tar.gz Has already been prepared ARICH/Win32-DirSize-1.13.tar.gz Has already been made ARICH/Win32-DirSize-1.13.tar.gz Has already been tested successfully ARICH/Win32-DirSize-1.13.tar.gz Already done
Code used
What seems to be the problem?use strict; use Win32::DirSize; my $Result = dir_size( "C:\\TEMP", my $DirInfo, # this stores the directory information );
In reply to Can't locate Win32/DirSize.pm in @INC by gepebril69
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |