in reply to CGI - How to determine content length for multiple files ?

Hi roadrunner,

I hope this is sort of what you're looking for. You can get the size of the file by looking at stat on the filehandle given by CGI.

use CGI; my $cgi = new CGI; my $fh = $cgi->upload('uploadedfile'); @st = stat($fh); print "Size: $st[7]";
I hope I wasn't completely off-track here. At least, I hope it helps some.

Good luck,
  -Adam
Retracted: Won't work with the upload-hook - sorry! :-)

--
By a scallop's forelocks!