Dear Perl Monks,

I'm trying to build a gmail filsystem based on Fuse and GmailFS written in perl (most for learning purpose and fun !).

The Net::FS::Gmail module relies on Mail::Webmail::Gmail. Here is a sample session in pirl :

bcarnazzi@tuxbook ~ $ pirl Welcome to the Perl shell. Type ':help' for more information pirl @> use Net::FS::Gmail; @var = (); + pirl @> $fs=Net::FS::Gmail->new(username=>'bcarnazzi',password=>'xxx') +; @var = ( bless( { '_gmail' => bless( { '_proxy_enable' => 0, '_logged_in' => 1, '_proxy_user' => '', '_cookies' => { 'S' <CUTED> 'Mail::Webmail::Gmail' ), '_user' => 'bcarnazzi' }, 'Net::FS::Gmail' ) ); pirl @> $fs->store("test.csv"); @var = (); pirl @> $fs->files(); ERROR: Can't use an undefined value as an ARRAY reference at /usr/lib/ +perl5/site_perl/5.8.8/Net/FS/Gmail.pm line 149.

There is no related bugs in this CPAN module, so I guess the problem is about Mail::Webmail::Gmail.

When I try to use Mail::Webmail::Gmail, I can connect to my gmail account, but that's all. I can't retrieve any mail or anything. All module dependencies are satisfied and I can connect any www-site with HTTPS. While the module has not been updated since 2006, I feel this is a bug (need confirmation). Some of you meet the same trouble ?

What is the best way to handle this ? Should I open a ticket ? Propose a patch if I find the bug ? Where ?

Best regards,

Bruno.

In reply to Problem with Mail::Webmail::Gmail CPAN module by bcarnazzi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.