DataTypes(3pm) LogReport's Lire Documentation DataTypes(3pm)NAME
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. 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.
AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: DataTypes.pm,v 1.44 2006/07/23 13:16:28 vanbaal 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.
Lire 2.1.1 2006-07-23 DataTypes(3pm)
Check Out this Related Man Page
Max(3pm) LogReport's Lire Documentation Max(3pm)NAME
Lire::Max - Lire class that implements the max operator
SYNOPSIS
use Lire::Max
DESCRIPTION
Class that implements the max operator. This operator will find the minimum value appearing in a DLF field among a group of DLF records.
METHODS
new( %params )
Creates a new Lire::Max object.
SEE ALSO Lire::ReportSpec(3pm), Lire::ReportOperator(3pm), Lire::Aggregator(3pm), Lire::Aggregate(3pm).
AUTHOR
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: Max.pm,v 1.10 2008/03/09 19:27:31 vanbaal Exp $
COPYRIGHT
Copyright (C) 2001, 2002 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.
Lire 2.1.1 2008-03-09 Max(3pm)
hi all
this is the code to know wether the net on or off
#include <stdio.h>
#include <unistd.h>
#include <netdb.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
int can_resolve_host (const char *host)
{
struct hostent *h = NULL;
h = gethostbyname (host);
if (h ==... (3 Replies)
afternoon forums.
I need to get a way of testing as to wether an inputed character is part of the english alphabet.
i have come up with the following code but its not working at all.
until ']
do
echo This is not a Letter
done
any help would be beneficial to me. (1 Reply)