Giangaetano Vituzzi wrote:

Hi everyone,

Hello,

How could I go about having perl to get the size of a folder?

perldoc -f stat

$ perl -mstrict -we 'my $ds = (stat ".")[7];print "$ds\n";'
5474
$

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to