Net::SCP::Expect released upon the world!

djberg96 on 2002-03-15T20:50:50

In addition to fixing some database reports, I successfully finished my first release of Net::SCP::Expect and uploaded it to CPAN. This was mostly done out of irritation with the Net::SCP author and because I wanted to see if I could do it. :)

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

autarch on 2002-03-15T20:58:50

Yeah, that must have been easier than making a patch!

Re:oooohhhhhh-kaaaayyyyyyyy

djberg96 on 2002-03-15T21:08:01

LOL - yeah, yeah, yeah - I know.

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.