It may be that my post is confusing .. I'm still trying to understand how it all works, and what tools to use from CPAN.
I'm working from the REST definition in the REST article:
REST strictly refers to a collection of architectural principles (described below). The term is also often used in a looser sense to describe any simple interface that uses XML (or YAML, JSON, plain text) over HTTP without an additional messaging layer such as SOAP.
I'm trying to emit XML in response to clean URLs with a view towards providing a simple interface for the web application that I'm writing.
My plan is that I'll provide clients with Perl or shell scripts to upload/download files, without having to worry about providing something that needs to parse XHTML web pages -- instead, they'll be able to talk XML, which will be strictly data, no ornamentation. This is a follow-on to my previous post on the same topic.
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.