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" inMail::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 fromMail::Box::Locker, default1 hourfile => $fileβ inherited fromMail::Box::Locker, defaultundeffolder => $folderβ inherited fromMail::Box::Locker, default<C<undef>>method => $name|CLASS|\@namesβ inherited fromMail::Box::Locker, default'DOTLOCK'timeout => $seconds|'NOTIMEOUT'β inherited fromMail::Box::Locker, default10
π 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" inMail::Box::Locker$obj->filename( [$filename] )β inherited, see "Attributes" inMail::Box::Locker$obj->folder( [$folder] )β inherited, see "Attributes" inMail::Box::Locker$obj->name()β inherited, see "Attributes" inMail::Box::Locker$obj->timeout( [SECONDS] )β inherited, see "Attributes" inMail::Box::Locker
π₯ Locking
Extends "Locking" in Mail::Box::Locker.
$obj->hasLock()β inherited, see "Locking" inMail::Box::Locker$obj->isLocked()β inherited, see "Locking" inMail::Box::Locker$obj->lock()β inherited, see "Locking" inMail::Box::Locker$obj->unlock()β inherited, see "Locking" inMail::Box::Locker
π«Ά Error handling
Extends "Error handling" in Mail::Box::Locker.
$obj->AUTOLOAD()β inherited, see "Error handling" inMail::Reporter$obj->notImplemented()β inherited, see "Error handling" inMail::Reporter
π Cleanup
Extends "Cleanup" in Mail::Box::Locker.
$obj->DESTROY()β inherited, see "Cleanup" inMail::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 bynotImplemented() - Warning:
couldn't remove mutt-unlock $folder: $!Cast byunlock() - Fault:
failed to remove expired mutt-lock $file: $!Cast bylock() - Warning:
folder $name already mutt-locked with $file.Cast bylock() - Fault:
folder $name will never get a mutt-lock with $file: $!Cast bylock() - Warning:
removed expired mutt-lock file $file.Cast bylock()
π 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
- ubuntu stonking: libmail-box-perl 4.02-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms