ReferenceSpec(3pm)
π ReferenceSpec(3pm) π
okay so bestie, this is a page from LogReport's Lire Documentation, and it's about Lire::Config::ReferenceSpec β a little icon that picks its options straight out of an Index. no cap, it's giving very β¨menu-built-from-a-listβ¨ energy.
πΈ NAME πΈ
Lire::Config::ReferenceSpec β a SelectSpec which takes its options from an Index. literally what it says on the tin, periodt.
π¦ DESCRIPTION π¦
so this Lire::Config::TypeSpec is a SelectSpec, right? and what it does is it defines an option for each available entry in the Index named on its index property.. (yes bestie, two dots, that's how the original rolls, we don't gatekeep punctuation π).
π new( 'name' => $name, 'index' => $index, ... ) π
makes you a brand new ReferenceSpec object, slay. the available options get queried at run time under Index β like, it doesn't know its own options until runtime, main character energy fr fr π
π§ index( [ $new_index ) π§
returns the setting of the index attributes β and optionnally change it if you pass $new_index. (the bracket situation is exactly as the original wrote it, don't come for me π)
π SEE ALLO π
go read those too, iykyk π«Ά
π VERSION π
$Id: ReferenceSpec.pm,v 1.2 2006/07/23 13:16:30 vanbaal Exp $
π AUTHOR π
Francis J. Lacoste <flacoste@logreport.org> β we stan π
π COPYRIGHT π
Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org
This file is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.
bestie pls actually read the license, it's not just decoration π the "no warranty" bit is real and it means exactly what it says.
and that's the whole page! πΈ this little beauty is from Lire 2.1.1, dated 2025-09-28, and it's ReferenceSpec(3pm) signing off β bye bestie, go configure something cute ππ¦
π¦ where this page comes from
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms