Mail::...r::Mutt(3pm)

πŸŽ€ Mail::Box::Locker::Mutt β€” the manual page, but make it make sense

okay bestie so this is Mail::Box::Locker::Mutt(3pm), one of those User Contributed Perl Documentation pages, and it's genuinely so much less scary than it looks. it's a locker class. it locks folders. that's it, that's the girl. πŸ’…


πŸ’– NAME

Mail::Box::Locker::Mutt β€” lock a folder using mutt_dotlock

like literally that's the whole vibe. a folder locker that outsources the actual locking to mutt's little helper program. ✨

🌈 INHERITANCE

 Mail::Box::Locker::Mutt
   is a Mail::Box::Locker
   is a Mail::Reporter

so she's a Mail::Box::Locker, and a Mail::Box::Locker is a Mail::Reporter. generational talent, honestly. πŸ‘‘

πŸ¦‹ SYNOPSIS

 See Mail::Box::Locker

that's it. that's the synopsis. go read your other manpage, babe, everything's inherited. 😭

πŸ’œ DESCRIPTION

so the mutt email reader ships with a whole separate program that does exactly one thing and does it well: locking folders. this locker class just calls that external program. no cap.

important!! Mutt is not automatically installed. you have to go get it yourself, bestie. it is not showing up as a surprise dependency. πŸ™ˆ

Extends "DESCRIPTION" in Mail::Box::Locker.

🌸 METHODS

Extends "METHODS" in Mail::Box::Locker.

🧚 Constructors

Extends "Constructors" in Mail::Box::Locker.

  • $class->new(%options) β€” inherited, see "METHODS" in Mail::Box::Locker

here's the whole option menu, defaults and all, don't @ me:

 -Option --Defined in       --Default
  exe                         mutt_dotlock
  expires  Mail::Box::Locker  1 hour
  file     Mail::Box::Locker  undef
  folder   Mail::Box::Locker  <C<undef>>
  method   Mail::Box::Locker  'DOTLOCK'
  timeout  Mail::Box::Locker  10

and now the deep dives on each one:

  • exe => PATH β€” the name of the program. can be a relative path or an absolute path, your call, main character. 🌟
  • expires => $seconds β€” inherited from Mail::Box::Locker, default 1 hour
  • file => $file β€” inherited from Mail::Box::Locker, default undef
  • folder => $folder β€” inherited from Mail::Box::Locker, default <C<undef>>
  • method => $name|CLASS|\@names β€” inherited from Mail::Box::Locker, default 'DOTLOCK'
  • timeout => $seconds|'NOTIMEOUT' β€” inherited from Mail::Box::Locker, default 10

πŸŽ€ Attributes

Extends "Attributes" in Mail::Box::Locker.

  • $obj->exe() β€” hands you back the name of the external binary. that's the whole job. iconic. πŸ’…
  • $obj->expires( [SECONDS] ) β€” inherited, see "Attributes" in Mail::Box::Locker
  • $obj->filename( [$filename] ) β€” inherited, see "Attributes" in Mail::Box::Locker
  • $obj->folder( [$folder] ) β€” inherited, see "Attributes" in Mail::Box::Locker
  • $obj->name() β€” inherited, see "Attributes" in Mail::Box::Locker
  • $obj->timeout( [SECONDS] ) β€” inherited, see "Attributes" in Mail::Box::Locker

πŸ”₯ Locking

Extends "Locking" in Mail::Box::Locker.

  • $obj->hasLock() β€” inherited, see "Locking" in Mail::Box::Locker
  • $obj->isLocked() β€” inherited, see "Locking" in Mail::Box::Locker
  • $obj->lock() β€” inherited, see "Locking" in Mail::Box::Locker
  • $obj->unlock() β€” inherited, see "Locking" in Mail::Box::Locker

🫢 Error handling

Extends "Error handling" in Mail::Box::Locker.

  • $obj->AUTOLOAD() β€” inherited, see "Error handling" in Mail::Reporter
  • $obj->notImplemented() β€” inherited, see "Error handling" in Mail::Reporter

πŸ“ Cleanup

Extends "Cleanup" in Mail::Box::Locker.

  • $obj->DESTROY() β€” inherited, see "Cleanup" in Mail::Box::Locker

⭐ DIAGNOSTICS

all the messages this girl can throw at you, in order, with zero skips:

  • Error: class $package does not implement method $method. Fatal error: the specific $package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package. Cast by notImplemented()
  • Warning: couldn't remove mutt-unlock $folder: $! Cast by unlock()
  • Fault: failed to remove expired mutt-lock $file: $! Cast by lock()
  • Warning: folder $name already mutt-locked with $file. Cast by lock()
  • Fault: folder $name will never get a mutt-lock with $file: $! Cast by lock()
  • Warning: removed expired mutt-lock file $file. Cast by lock()

πŸ’€ SEE ALSO

This module is part of Mail-Box version 4.02, built on April 10, 2026.

Website: http://perl.overmeer.net/CPAN/

πŸ‘‘ LICENSE

For contributors see file ChangeLog.

This software is copyright (c) 2001-2026 by Mark Overmeer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


and that's the whole page bestie, slay, go lock a folder responsibly πŸ¦‹πŸ’–

so like, tiny sign-off: this was rendered for perl v5.40.1 and dated 2026-05-09, and the page itself is Mail::...r::Mutt(3pm) β€” you're welcome, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from