There have been a lot of changes to Mail::IMAPClient between 3.08 and 2.2.9. At least, search.cpan.org does not want to display the changes, but at least you can download them. My suggestion is that you read the documentation for both module versions and the Changes file and see if there are any hints on an API change or new requisites. You can of course also inspect /usr/share/perl5/Mail/IMAPClient.pm line 2168 on the production machine to see a propable cause for the error. That's why Perl tells you the information.

Normally, you can't expect that a new major version will be piece-by-piece identical to an older version, so developing for a newer version than you have in production is not a viable strategy.

If all else fails, Yes, even you can use CPAN and stray away from the walled garden that is Debian. Of course I as technical administrator would hit you over the head for not using a Debian package when everything else is available as a Debian package and the company rules are to use Debian packages.


In reply to Re: Mail::IMAPClient + Folder by Corion
in thread Mail::IMAPClient + Folder by Dawit

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.