Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: gmail

by rjray (Chaplain)
on Jul 09, 2004 at 07:35 UTC ( #373067=note: print w/replies, xml ) Need Help??

in reply to Gmail

This is some very nice work. A few notes:

  • You don't refer to the package name consistently in the docs. Or rather, you do, but you consistently refer to it as "gmail" (all lc) rather than "Gmail".
  • When formatted via perldoc or similar, the formatting of the same code is a little wacky. Not sure why this is... the code seems to display OK in my browser, but maybe you are using tabs rather than more conventional 4-space indenting?
  • When fetching message info, Gmail is apparently escaping the < and > characters. You might want to look at those strings when you get the data back and clean them up a bit, just as an ease to users.

Again, nice work!


Replies are listed 'Best First'.
Re^2: gmail
by mincus (Chaplain) on Jul 09, 2004 at 11:00 UTC
    I have a unhealthy liking for tabs that I suppose releasing code publically should break me of.

    In the new version,
  • I have replaced all tabs with 4 spaces
  • Fixed all documentation that called the module gmail instead of Gmail (or even Mail::Webmail::Gmail)
  • Data will now be returned unencoded.

    Thanks for all of your pointers! Its things like this that often get over-looked. Hopefully I will get the new version up sometime today.

      Hmmm... have you seen WWW::Gmail? I just saw it in the daily mailing from use.perl. I'm not sure I'd put a Gmail module in the WWW namespace; the service may in fact be web-based, but they've gone to some effort in their interface to abstract that. I think Mail::Gmail would ultimately be a better place...


        Wonder why he decided to release that.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://373067]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2021-10-20 00:44 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (78 votes). Check out past polls.