Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 16 lines (9 sloc) 0.38 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
HTTP::Status -- Get the text message representing an HTTP status code.

This is a module that exports a single subroutine:

  get_http_status_msg()

It's usage is simple:

  get_http_status_msg($code);

Where $code is the numeric HTTP status code, such as 200 or 404.
It will return the text message that the code represents.

Author: Timothy Totten
License: Artistic License 2.0
Something went wrong with that request. Please try again.