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