Help for this page

Select Code to Download


  1. or download this
    my $hashref;
    my $result = dir_size("C:\\temp", $hashref);
    print "File count = ", $hashref->{FileCount}, "\n";
    print "Dir size = ", $hashref->{LowSize}, "\n";
    
  2. or download this
    int 
    dir_size (dirname,dirinfo,permsdie=0,otherdie=0)
    ...
        OUTPUT:
            dirinfo
            RETVAL