Richard Clamp > Parse-CVSEntries-0.03 > Parse::CVSEntries

Download:
Parse-CVSEntries-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

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)

syntax highlighting: