foreach my $param ( $q->params ) should be foreach my $param ( $q->param )
In reply to Re^2: Log a Post Request by ikegami in thread Log a Post Request by ecuguru