NAME

Compare::Directory - A very simple utility to compare directory.

VERSION

Version 1.10

SYNOPSIS

The one and only objective of this module is compare two directory contents. Currently it can only compare the following file types:

  • Text File (.txt)

  • Comma Seperated File (.csv)

  • PDF File (.pdf)

  • XML File (.xml)

  • Excel File (.xls)

CONSTRUCTOR

The constructor expects the two directories name with complete path.

use strict; use warnings;
use Compare::Directory;

my $directory = Compare::Directory("./got-1", "./exp-1");

METHODS

cmp_directory()

This is the public that initiates the actual directory comparison. You simply call this method against the object. Returns 1 if directory comparison succeed otherwise returns 0.

use strict; use warnings;
use Compare::Directory;

my $directory = Compare::Directory("./got-1", "./exp-1");
$directory->cmp_directory();

AUTHOR

Mohammad S Anwar, <mohammad.anwar@yahoo.com>

BUGS

Please report any bugs or feature requests to bug-compare-directory at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Compare-Directory. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

File::DirCompare
File::Dircmp

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Compare::Directory

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2010 Mohammad S Anwar.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

DISCLAIMER

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.