saintmike has asked for the wisdom of the Perl Monks concerning the following question:

Hey there, fellow monks,

I'd like to create a simple WebDav client in Perl connecting to Apache's mod_dav. Does anybody have experience with one of the modules on CPAN?

There's two WebDav client modules up there, HTTP::Webdav and HTTP::DAV (also known as PerlDav), both of which haven't been updated in a while.

HTTP::WebDav doesn't seem to compile (depends on an obsolete version of "neon"). HTTP::DAV, on the other hand, looks pretty mature.

Can anybody recommend one of these or suggest a different approach?

Replies are listed 'Best First'.
Re: Which WebDav client API to use?
by Tomte (Priest) on Mar 16, 2004 at 08:23 UTC

    I quickly tested HTTP::DAV via dave and a quick glance at the code, it did everything just fine; if your installation of LWP is "ssl-capable", HTTP:DAV is either. First impression: solid, very good; claims to work with apache2, that'd be a real asset.

    It's build on top of solid modules (namly LWP, URI, XML::DOM and a couple of codecore-modules) and the code looks clean and indeed mature.

    From this half-hour tests I did (well, actually 45min ;-), I'd recommend this module: Use HTTP::DAV (if you're not trying to navigate fully populated 747s with a weird dav-based approach, maybe you should role-your-own in that case...;-)

    regards,
    tomte


    Hlade's Law:

    If you have a difficult task, give it to a lazy person --
    they will find an easier way to do it.