RE: Memory usage of var...

2001-09-06 Thread Brian
> if this mail lives in a file, then you can simply check the file > size, perhaps with the file test operator -s. > > my $size = -s $file; > > see the section of the perlfunc manpage that talk about these: > Nope, unfortunately it's not in a file. The script is used as a sendmail alias (

Re: Memory usage of var...

2001-09-05 Thread brian d foy
In article <002301c135cd$9ada2540$025a@drevlin>, [EMAIL PROTECTED] (Brian) wrote: > But, I'm not slurping it all at once (going line by line), which allows > for me to check the size as I go. If somebody sends a 40 meg message, > I'd like to catch it early before the server has a heart atta