http://www.perlmonks.org?node_id=1017899


in reply to Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem

Just spend a few minutes constructing requests that cause the remote server to respond with each of their response texts; then store this in your text-to-response-code hash. Job done.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.