My point was that LWP::UserAgent has already written that code for you, if you design the server end to properly take advantage of what HTTP already has to offer. LWP::UserAgent already knows how to parse '401 Unauthorized'.
You can still choose to write some additional error handling code, but your overall code will be simpler. More complicated things will need more complicated code, no matter if you use SOAP or REST, so no loss there.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re^5: start over with SOAP in Perl?
by hardburn
in thread start over with SOAP in Perl?
by McMahon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |