cs::Pathname - manipulate data hierachies
use cs::Pathname;
This module does stuff with files and filenames.
Return a unique id string for the named file. Current implementation: ``rdev:ino''.
compare(file1,file2)
Compare the contents of two files. Returns: undef if one of the files can't be opened or if a read fails. 0 if the files are identical. -1 if the files differ and file1 is a prefix of file2. -2 if the files differ and file1's differing byte is less than file2's byte. 1 if the files differ and file2 is a prefix of file1. 2 if the files differ and file2's differing byte is less than file1's byte.
Cameron Simpson <cs@zip.com.au>