The only thing that tripped me up a bit was capturing errors if a send() method failed. When I finally realized that the somewhat misnamed log_file() method accepted a sub ref as an argument (and not just a file), my problem was solved.
Oh, and my colleague pointed out Xerces Perl to me today. Looks interesting.
oooohhhhhh-kaaaayyyyyyyy (Score:1)
Re:oooohhhhhh-kaaaayyyyyyyy (Score:1)
Besides, I found the code (and the api to some degree) for Net::SCP annoying and my "patch" would have been a rewrite of the whole damn thing anyway. I sure as hell wasn't gonna subclass it. It's only about 125 lines of code, if you exclude POD, newlines and comments, so not much skin off my nose.