server http header

Perl modules on a web server?
Hey all. I'm new to Perl and it seems like a great language so far, but I'd like to get it working on the web. I understand that this is as simple as printing out a few HTTP headers, but if my Perl script uses modules (I want to use Net::IRC for example), what do I do?
Do I have to somehow install those modules on a server somehow?
Thanks.
cpan>#install Net::IRC and press enter.
[phpbay]server http header, 30, "11211"[/phpbay]
[phpzon]server http header, 5, Electronics[/phpzon]
What is a If Modified Since HTTP Header