$ENV{'CONTENT_LENGTH'} #normally used with POST method $ENV{'QUERY_STRING'} #normally used with GET method