in reply to Errors in File::Recurse()?
Hope that helps. By the way, "k:/node1" & "k:\\node1" work for ActivePerl.use strict; use File::Find; my $size = "0"; find(\&sizedir, "k:/node1"); print "$size\n"; exit; sub sizedir { shift; $size += -s "$_"; }
|
|---|