[Developers] Perl API - just to make things confusing
Hayden Stainsby
hds at caffeineconcepts.com
Fri Aug 24 11:46:51 UTC 2007
Hi all,
Just to confuse everyone I thought I'd let you know that today I also
uploaded my Perl API to CPAN. This is entirely different from
Kirrily's as far as I can tell.
It's a little more complicated than the implementation that Kirrily
sent earlier on, but it supports multiple queries per request (for
read and write envelopes) as well as an interface to the trans api.
It can accept and return queries as json text or a Perl structure.
Version 0.01 (inspiring huge amounts of confidence I'm sure) is
available from CPAN at:
http://search.cpan.org/~hds/WWW-Metaweb-0.01/
It's not propagated through to all the mirrors yet, so you might not
be able to get it from the command line tool right now.
or I've got a subversion repository with public read access at:
http://caffeineconcepts.com/metaweb
It's fully documented with POD - but the subversion repository also
has a couple of useful example files under /sandbox.
Feedback of all kinds more than welcome.
--
Hayden
#!/usr/bin/perl
chop($_=<>);@s=split/ /;foreach$m(@s){if($m=='*'){$z=pop at t;$x=
pop at t;$a=eval"$x$m$z";push at t,$a;}else{push at t,$m;}}print"$a\n";
# http://occasionallyhuman.net/
#9202a8c04000641f80000000054c75be
More information about the Developers
mailing list