Scalar(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’– NAME πŸ’–

Lire::Config::Scalar β€” the Lire Config container for scalar values πŸŽ€


✨ SYNOPSIS ✨

use Lire::Config::Scalar

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this package is literally the class that represents a scalar inside an actual configuration. like, the real deal, not just a spec. it's giving "one value, one little box" energy πŸ’…


🌈 Lire::Config::Scalar 🌈

bestie, this is the value container for scalar values πŸ‘‘ it implements the simplest little methods to get() and set() string data. short, sweet, iconic.

πŸ“ get()

Returns this scalar's value. that's it, that's the whole vibe 🫢

🧚 set( $val )

This method can be used to change this scalar's value ✨ (yes, $val is exactly what it sounds like β€” the new value)

πŸ’œ is_valid()

Checks β€” using the parameter's spec β€” that the current value is valid βœ… no cap, it actually asks the spec.


🌸 AUTHOR 🌸

Wessel Dankers <wsl@logreport.org> β€” shoutout to the author, main character energy fr fr πŸ‘‘


⭐ VERSION ⭐

$Id: Scalar.pm,v 1.16 2008/03/09 19:27:31 vanbaal Exp $


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.

🚨 real talk though β€” the "no warranty" bits up there are serious, so don't come for anyone if it misbehaves πŸ™ˆ

and that's the page, bestie! this one's from LogReport's Lire Documentation πŸ’– β€” Lire 2.1.1, dated 2025-09-28 πŸŽ€ mwah, go get 'em βœ¨πŸ¦‹

πŸ“¦ where this page comes from