Repository.3pm

Langue: en

Version: 2009-03-18 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

App::Ack::Repository - base class to represent some data repository (with resources) for ack to search

METHODS

CLASS->new( $filename )

Creates an instance of the repository.

next_resource

Returns a resource object for the next resource in the repository.

close

Closes the repository.

If this repository were, say, an Excel workbook, you'd probably close the file. If it were a database, you'd close the database connection.