Mail::...:Multi(3pm)
π Mail::Box::Locker::Multi β the Multi(3pm) page, but make it make sense π
okay bestie, you found yourself the docs for Mail::Box::Locker::Multi, which ships as part of the User Contributed Perl Documentation. it's giving β¨thoroughβ¨. let's go.
πΈ NAME πΈ
Mail::Box::Locker::Multi β lock a folder in all the ways that actually work. no cap. π
π¦ INHERITANCE π¦
Mail::Box::Locker::Multi
is a Mail::Box::Locker
is a Mail::Reporter
so it's got a whole little family tree going on. iconic lineage honestly.
β¨ SYNOPSIS β¨
See Mail::Box::Locker. that's it, that's the synopsis, she's lowkey mysterious π
π DESCRIPTION π
The ::Multi locker locks a folder in every way it can. why? because that way the chance is highest that any other program will just... leave the folder alone while we're in there doing our thing. respect the privacy bestie π«Ά
NFS-lock and Flock are tried. more may get added whenever the ways to lock get extended. DotLock overlaps with NFS-lock, but NFS-lock is safer, so NFS-lock is the version that's preferred. slay.
Extends "DESCRIPTION" in Mail::Box::Locker.
π METHODS π
Extends "METHODS" in Mail::Box::Locker.
π Constructors
Extends "Constructors" in Mail::Box::Locker.
$class->new(%options)
You may also pass all %options understood by the initiated lockers used by the multi locker. improves the base class, see "METHODS" in Mail::Box::Locker.
here's the option tea β (option, where it's defined, and its default):
expiresβ defined inMail::Box::Locker, default1 hourfileβ defined inMail::Box::Locker, defaultundeffolderβ defined inMail::Box::Locker, default<C<undef>>methodβ defined inMail::Box::Locker, default'MULTI'timeoutβ defined inMail::Box::Locker, default10useβ default<all possible>
and here's each one broken down, one by one, no skipping, fr fr:
expires => $secondsfile => $filefolder => $foldermethod => $name|CLASS|\@namestimeout => $seconds|'NOTIMEOUT'use => ARRAY-of-(NAMES|LOCKER)β an array of locker typeNAMESorLOCKERobjects to be used to lock one folder. the typeNAMESget converted into objects. when you create your ownLOCKERobjects, be sure to set the timeout very short (preferably to1).
some locking types are not available on some platforms, so they will not be excluded from the default list (NFS POSIX Flock).
- Β» example: using a subset of multi-lockers
my $locker = Mail::Box::Locker::Multi->new(use => ['DOTLOCK','FLOCK']);
π« Attributes
Extends "Attributes" in Mail::Box::Locker.
$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->lockers()β returns a list with all locker objects used by this object. β¨the rosterβ¨$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($folder)β 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 π
- Error: class
$packagedoes 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().
bestie this one's a fatal error, so like, don't ignore it. go look into it and tell the author π
π 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, we ate and left no crumbs π
β¨ this was perl v5.40.1, dated 2026-05-09, for Mail::...:Multi(3pm) β mwah, go lock some folders responsibly π¦π
π¦ 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