| ack documentation | Contained in the ack distribution. |
Creates an instance of the repository.
Returns a resource object for the next resource in the repository.
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.
| ack documentation | Contained in the ack distribution. |
package App::Ack::Repository; use App::Ack::Resource; use warnings; use strict; sub FAIL { require Carp; Carp::confess( 'Must be overloaded' ); }
sub new { FAIL(); }
sub next_resource { FAIL(); }
sub close { FAIL(); } 1;