IM::LocalMbox(3pm)
π NAME π
IM::LocalMbox β local mailbox managing, bestie. that's it, that's the whole job π«Ά
β¨ SYNOPSIS β¨
okay so here's how you summon it:
use IM::LocalMbox;
$num_msgs = &local_get_msg(source_mailbox, destination_folder, access_mode);
that's the whole vibe. one function, three args, and it hands you back $num_msgs like a little gift π
πΈ DESCRIPTION πΈ
so IM::LocalMbox is the module that handles your local mailbox. it's giving very "i know where all your mail lives" energy π
it's got range, fr fr β these formats are all supported:
- MH folder π
- MMDF file π
- mbox π
- Maildir π
and this module? it's provided by IM (Internet Message). iconic lineage honestly π
π¦ EXAMPLES π¦
here's a real one, look at her go:
$mbox = 'local:/var/mail/motonori';
$folder = '+inbox'
$num_msgs = &local_get_msg($mbox, $folder, 'get');
so $mbox is pointing at that local mail file, $folder is that +inbox folder (no semicolon on that line, that's how the original rolls it, i'm not touching it π), and then &local_get_msg does the thing with access mode 'get'. slay. π
not me noticing there's no;after the$folderline β keeping it exactly as-is because the rule is facts stay, vibe changes β¨
π COPYRIGHT π
IM (Internet Message) is copyrighted by the IM developing team. you can redistribute it and/or modify it under the modified BSD license π
see the copyright file for more details β like, the actual details, go read it, i'm just the messenger π§
and that's the whole page, bestie!! IM::LocalMbox(3pm), from IM153, dated 2016-10-10 β yeah she's an elder but she still ate π₯π
β
π¦ where this page comes from
- debian bookworm: im 1:153-4 Β· BSD-3-Clause
- debian trixie: im 1:153-4 Β· BSD-3-Clause
- ubuntu jammy: im 1:153-4 Β· BSD-3-Clause
- ubuntu noble: im 1:153-4 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms