Re: Email::Folder->messages returns only one element



On 05/31/2007 02:22 AM, Michael Yang wrote:
[ program demonstrating Email::Folder snipped ]

I ran your program. The only things I changed were lines 9 and 14:

9: my @mail_list = glob('~/tmp/mozmail/*.msf');
14: die "The module Email::Folder is required for this script.\n" if $@;

I had to change $! to $@. Read "perldoc -f eval."

Your modified program ran properly; all of the message subjects were listed separately on my system:

Debian 3.1 (Linux).
Perl 5.8.4
Email::Folder 0.852
Email::Simple 1.9
Email::FolderType 0.7


.



Relevant Pages

  • Request for info/help
    ... Debian 3.0 built. ... numberous upgrades available for the system (which the system needed ... there was still quite a bit of 2.2 (the perl is what I ... install broke, and broke the perl that was on the system. ...
    (Debian-User)
  • Request for info/help
    ... Debian 3.0 built. ... numberous upgrades available for the system (which the system needed ... there was still quite a bit of 2.2 (the perl is what I ... install broke, and broke the perl that was on the system. ...
    (Debian-User)
  • apache-perl: BRICOLAGE troubles
    ... > champ (so apache-perl is working just fine). ... Wondering HOW TO GET CPAN MODULES FOR PERL? ... if the Perl module is not packaged in *.deb Debian ...
    (Debian-User)
  • Re: using Template effectively
    ... A space saving of a few MB, ... Debian installation. ... 25% or replacing every perl perl essential perl script by one in a ... But 'apt-get install perl' should install a ...
    (comp.lang.perl.misc)
  • Re: Debian Linux Perl installation (testing dist)
    ... > Perl installation. ... > The first question is, how can I change the Configure parameters ... Debian is based on binary ... Did you read the Debian Perl policy? ...
    (comp.lang.perl.misc)