Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by BrowserUk (Pope)
on Feb 08, 2013 at 23:00 UTC ( #1017899=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem
Re^2: Calling all REGEX Gurus - nasty problem involving regular expressions combined with hash keys - I need ideas as to how to even approach the problem
by ted.byers (Scribe) on Feb 08, 2013 at 23:28 UTC

    Thanks for this

    Alas, it is a bit harder than that. There are about 100 standard responses, and while some are trivially easy to trigger, some are notoriously hard to deliberately trigger, in no small part because the validation rules they use are not documented (at least inthe documentatin they provide to us).

    Thanks

    Ted

      Then add the common ones and fix up the rare ones when and if they ever occur.

      (And look for an alternative supplier of this service that doesn't screw you around.)


      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017899]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-12-19 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (74 votes), past polls