Dictionary(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’– Dictionary(3pm) β€” Lire::Config::Dictionary, aka the Dictionary Value object πŸŽ€

okay so real talk, this is a page from LogReport's Lire Documentation and it's genuinely a lil hidden gem, so let's get into it bestie ✨

🌸 SYNOPSIS 🌸

  use Lire::Config::Dictionary;

that's it. that's the whole vibe check. you just use it and you're in πŸ’…


✨ DESCRIPTION ✨

okay so picture this: a configuration parameter that literally contains a whole bunch of named parameters, like, other values that you can grab by name. it's giving little dictionary energy πŸ“š

it's the value type you use for top-level configuration sets β€” yes, the main character of config values πŸ‘‘


πŸ¦‹ is_set( $name ) πŸ¦‹

is_set( $name )

returns true if the parameter $name was set in this dictionary. simple as that, no cap. this is your "does this key even exist" check βœ…


🧚 get( $name ) 🧚

get( $name )

returns the Value object for the $name subparameter πŸŽ€

⚠️ heads up bestie β€” an exception will be thrown if there's no subparameter named $name. so like, check with is_set first unless you enjoy chaos 😭

πŸ’œ set( $value ) πŸ’œ

set( $value )

sets a parameter in this dictionary. that's the whole thing. go off πŸ’…βœ¨


πŸ‘‘ AUTHORS πŸ‘‘

the icons who made this happen, periodt:

  • Wessel Dankers <wsl@logreport.org>
  • Wolfgang Sourdeau <wolfgang@logreport.org>
  • Francis J. Lacoste <flacoste@logrpeort.org>

⭐ VERSION ⭐

$Id: Dictionary.pm,v 1.19 2006/07/23 13:16:30 vanbaal Exp $

yes the version string is a whole CVS relic, we love a vintage moment πŸ•°οΈ


Copyright (C) 2002-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.


and that's the whole page bestie 🫢 shoutout to Lire 2.1.1, dated 2025-09-28 β€” this Dictionary(3pm) page said "I'm iconic and I know it" and honestly? she's right πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from