DataTypes(3)

NAME
Lire::DataTypes - check wether value is of declared type

SYNOPSIS
 use Lire::DataTypes qw( :basic :time :misc format_numeric_type ... );
 $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. Furthermore, routines to process these types, like duration2sec and bytes2size are offered. Lire types are defined in lire-types.mod.

This module is widely used throughout other Lire:: modules.

VERSION
$Id: DataTypes.pm,v 1.26 2002/07/12 22:51:30 flacoste Exp $

COPYRIGHT
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 or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.

AUTHOR
Francis J. Lacoste <flacoste@logreport.org>