Mail::IMAPClient folders($prefix)

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


can anybody tell me why

@folders = $m->folders($folderPrefix);
  for $folder ($m->folders())
     if ($folder =~ /^$folderPrefix/)
        push @folders, $folder;

the first folders call fails... with

Use of uninitialized value in concatenation (.) or string at /lib/
perl5/site_perl/5.8.8/Mail/ line 2145.
 at /lib/perl5/site_perl/5.8.8/Mail/ line 2145

I suspect it might be because the separator method doesn't work
correctly with Maildir folders?

Site Timeline