gepebril69 has asked for the wisdom of the Perl Monks concerning the following question:
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 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can't locate Win32/DirSize.pm in @INC
by ww (Archbishop) on Nov 07, 2015 at 12:17 UTC | |
by gepebril69 (Scribe) on Nov 07, 2015 at 15:35 UTC | |
by poj (Abbot) on Nov 07, 2015 at 15:42 UTC | |
by gepebril69 (Scribe) on Nov 10, 2015 at 07:09 UTC |