Richard Clamp

NAME

Parse::CVSEntries - parse a CVS/Entries file

SYNOPSIS

 my $parsed = Parse::CVSEntries->new( 'CVS/Entries' );
 for my $entry ($parsed->entries) {
     print $entry->name, " ", $entry->version, "\n";
 }

DESCRIPTION

METHODS

new( $file )

Opens a file and parses it invoking entry_class->new to actually prepare the data.

entries

Returns a list of all the entries in the parsed file.

entry_class

What class to instantiate for each entry. Defaults to Parse::CVSEntry

Parse::CVSEntry

A representation of an entry in the entries file.

METHODS

All of these are just simple data accessors.

dir

name

version

modified

mtime

modified as epoch seconds

AUTHOR

Richard Clamp <richardc@unixbeard.net>

COPYRIGHT

Copyright (C) 2003 Richard Clamp. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

File::Find::Rule::CVS, cvs(1)