in reply to Mail::Box-deleting messages

From the Mail::Box documentation, diagnostics section:

Warning: Changes not written to read-only folder $self.

You have opened the folder read-only --which is the default set by new(access)--, made modifications, and now want to close it. Set close(force) if you want to overrule the access mode, or close the folder with close(write) set to NEVER.

-- Time flies when you don't know what you're doing