From: Oskari Okko Ojala Date: Wed, 12 Oct 2011 13:08:49 +0000 (+0300) Subject: Documentation to ->hostname on how to get the hostname of the server. X-Git-Tag: 5.90005~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=cfb8879d62b804cb574bf5608dd41cfb87d3559a Documentation to ->hostname on how to get the hostname of the server. --- diff --git a/lib/Catalyst/Request.pm b/lib/Catalyst/Request.pm index c058daa..f974f3f 100644 --- a/lib/Catalyst/Request.pm +++ b/lib/Catalyst/Request.pm @@ -316,7 +316,7 @@ Returns an L 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