Scalar(3pm)
π 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 π
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
- 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