Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (31 sloc) 624 Bytes
package App::Ack::Repository;
use App::Ack::Resource;
use warnings;
use strict;
sub FAIL {
require Carp;
Carp::confess( 'Must be overloaded' );
=head1 METHODS
=head2 CLASS->new( $filename )
Creates an instance of the repository.
sub new {
=head2 next_resource
Returns a resource object for the next resource in the repository.
sub next_resource {
=head2 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
sub close {
Jump to Line
Something went wrong with that request. Please try again.