Casey West > Email-Delete-1.02 > Email::Delete::Maildir

Download:
Email-Delete-1.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.01   Source   Latest Release: Email-Delete-2.002

NAME ^

Email::Delete::Maildir - Delete Messages from a mbox Folder

SYNOPSIS ^

  use Email::Delete qw[delete_message];
  
  my $message_id = shift @ARGV;
  
  delete_messages from     => 'some/mbox',
                  matching => sub {
                      my $message = shift;
                      $message->header('Message-ID') =~ $message_id;
                  };

DESCRIPTION ^

This software will delete messages from a given mbox folder.

You may be interested to know that every call to delete_message will lock properly (thus annoyingly) throughout the entire process of scanning and rebuilding the mbox.

SEE ALSO ^

Email::Delete, perl.

AUTHOR ^

Casey West, <casey@geeknest.com>.

COPYRIGHT ^

  Copyright (c) 2004 Casey West.  All rights reserved.
  This module is free software; you can redistribute it and/or modify it
  under the same terms as Perl itself.
syntax highlighting: