ReferenceSpec(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’… 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 (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