I am very new to Perl and I wonder how to run it on webservers and all. (or if it can)
You clearly want to use PSGI/Plack to deploy your Perl application. This is the way to go in 2010, you should not go another way.
PSGI/Plack lets you deploy the application under any webserver you like, see http://plackperl.org for details.
You'll also have to choose an application framework that supports PSGI. There are many; among them is Dancer a micro-framework designed to be as effortless as possible for the developer.
See http://dancer.sukria.net for details.