Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

koschei (147)

koschei
  useperl@dellah.org
http://eh.org/~koschei/

Um. Me. Iain Truskett. Can be found as either Spoon or Koschei around the place, and as Braxiatel in rare circumstances. Um. Cool. Ta.

My perl svn repository [dellah.org] if you want bits of code by me. Also see dellah.org [dellah.org] for most of them in action.

My friends [perl.org], foes [perl.org], fans [perl.org], and freaks [perl.org]. And you can see what my friends are journalling [perl.org].

And everybody's journals [perl.org] (in order of updating).

Journal of koschei (147)

Tuesday April 16, 2002
10:46 AM

google2rss and WWW::Search::Google

[ #4242 ]

As mentioned in a comment in gnat's journal, I'm writing google2rss, in Perl. For the fun of it.

As rjray said, most of the code would be option handling. Yep. So I'm making sure it's a fine example of a program rather than having it look like something thrown together in a few minutes.

Incidentally, I'm making it support all the options of the C# version, just with -- rather than - as the option prefix. =)

I've also made a module (temporarily called WWW::Search::Google for lack of inspiration - I may add ::SOAP on the end) to make it so I can, at the minimum, do:

use WWW::Search::Google::SOAP;
my $results = WWW::Search::Google::SOAP
        ->new()
        ->key('wtstkjfdklsa43kj34kf84+_rn')
        ->query("iain truskett")
        ->results;

I should probably integrate it with Leon?'s WWW::Search::Google module - the main priority of which is to have the common interface of the WWW::Search family. Whereas the major priority for my module is for access to all of Google's API features.

Hmm. I should also make and send a patch or something to the Class::MethodMaker author(s). I like my set accessors to return $self rather than the value. I need an option for that. As it is, my module doesn't use Class::MethodMaker, and instead has a wodge of accessors (made with judicious use of vim macros).

In other news, 0.55 of SOAP::Lite is out now.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.