I've been using perl for a few years now, primarily for data parsing, text conversion and database interaction. Now though, I'm looking at a new project that will be web-based rather than run directly on a workstation or server. I just started playing around using LWP and CGI before realizing there are probably modules designed for doing exactly this, given the number of perl-based web APIs out there. I also realized I have no idea what they may be or how to go about finding them (my attempts to do so were rather uninformative). I'm also pretty new to the whole arena of web programming/services, so I'm not even sure where to start.
So, for all you fantastic web programmers out there: What sort of modules / practices are helpful for designing APIs? Opinions on SOAP vs. REST vs. anything else? I'm more than happy to RTFM, as soon as I figure which FM to R.