Documentation to ->hostname on how to get the hostname of the server.
Oskari Okko Ojala [Wed, 12 Oct 2011 13:08:49 +0000 (16:08 +0300)]
lib/Catalyst/Request.pm

index c058daa..f974f3f 100644 (file)
@@ -316,7 +316,7 @@ Returns an L<HTTP::Headers> object containing the headers for the current reques
 
 =head2 $req->hostname
 
-Returns the hostname of the client.
+Returns the hostname of the client. Use $req->uri->host to get the hostname of the server.
 
 =head2 $req->input