Lire::Last(3pm)

Lire::Last3pm

Lire class that implements the last operator

Usage

 use Lire::Last

Overview

Class that implements the last operator. This operator will output the last 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::Last object.

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. =cut

Version

$Id: Last.pm,v 1.14 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]>
  Wolfgang Sourdeau <[email protected]>

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