in reply to Using Perl for directory listing
my $size = -s $item; [download]
If you need more details, use stat.