> I am not sure HOW to do the file size check.

(untested)
if -s $filename > 100 then print "$filename greater than 100 bytes!";

Something like this perhaps?  


If you also need the actual size then perhaps this will work (again untested)

my $size_in_k = (-s) / 1000;
print "$_ is $size_in_k Kbytes";

Just a thought.

-- 
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