Lire::First(3pm)

Lire::First3pm

Lire class that implements the first operator

Usage

use Lire::First

Overview

Class that implements the first operator. This operator will output the first value appearing in its field when the DLF records are sorted according to the "sort_fields" attribute. The default sort order is the default timestamp sort.

Methods

new( %params )

Creates a new Lire::First object. The field attribute can be specified in the "field" parameter and the sort order can be passed in the "sort_fields" parameter.

sort_fields( [$new_sort_fields] )

Returns the fields that are going to be used to sort the DLF records. This a reference to an array of DLF field names.

If the $new_sort_fields parameter is set, it will be used as the new sort order. It must be an array reference and should only contains valid field names for the current report specification's schema.

When no sort_fields are set, the default is to use the default timestamp field.

Version

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

Releases

6 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. Arch

Authors

  Francis J. Lacoste <[email protected]>
  Wolfang Sourdeau <[email protected]>

From lire 2.1.1-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.