---
name: "Lire::Config::ReferenceSpec"
section: "3pm"
platform: "linux"
package: "lire"
version: "2.1.1-8"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Lire::Config::ReferenceSpec"
---

# Lire::Config::ReferenceSpec(3pm)

SelectSpec which takes its options from an Index.

## NAME

Lire::Config::ReferenceSpec - SelectSpec which takes its options from an Index.

## DESCRIPTION

This Lire::Config::TypeSpec is a SelectSpec which defines an option for each available entry in the Index named on its index property..

### new( 'name' =\> $name, 'index' =\> $index, ... )

Creates a new ReferenceSpec object. The available options will be queried at run time under Index.

### index( \[ $new\_index )

Returns (and optionnally change) the setting of the index attributes.

## SEE ALLO

```
 Lire::Config::ReportConfigIndex(3pm) Lire::Config::Index(3pm)
```

## VERSION

`$Id:` ReferenceSpec.pm,v 1.2 2006/07/23 13:16:30 vanbaal Exp $

## AUTHOR

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

## COPYRIGHT

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