DataTypes(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’… NAME πŸ’…

okay bestie, welcome to the DataTypes(3pm) page β€” it's from LogReport's Lire Documentation, and the actual module is Lire::DataTypes.

  • Lire::DataTypes β€” check wether value is of declared type

✨ SYNOPSIS ✨

        use Lire::DataTypes qw/ size2bytes duration2sec ... /;

        $bytes = size2bytes( $min_value );
        $sec = duration2sec( $max_value );
        ...

🌸 DESCRIPTION 🌸

Lire::DataTypes offers several routines, like check_url and check_duration, to decide wether a value is of a Lire type. It also serves up routines to process those types, like duration2sec and bytes2size β€” yes, those are the exact names, no cap.

Lire types are defined in lire-types.mod. iykyk.

This module is literally widely used throughout other Lire:: modules β€” main character energy, fr fr.


🫢 AUTHOR 🫢

The author is Francis J. Lacoste <flacoste@logreport.org> πŸ’–.


πŸ¦‹ VERSION πŸ¦‹

$Id: DataTypes.pm,v 1.44 2006/07/23 13:16:28 vanbaal Exp $


okay legal moment, but make it iconic β€” here's the copyright and license info exactly as it needs to stay:

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


πŸ’– that's the whole page, bestie: Lire 2.1.1, dated 2025-09-28, page DataTypes(3pm). byeee 🫢✨

πŸ“¦ where this page comes from