Start by reading and learning from your mistakes.
First, stop asking the same question.
Second, you've already been told what to read so go read.
You can't do web programming if you don't know CGI/HTTP, so you have to start by learning CGI/HTTP.
Neither topic is exclusive to perl.