$manifest->normalize( $path, [ $rel ] ) This method takes a given platform-specific path string and converts it to a Unix-style string compatible with the MANIFEST and MANIFEST.SKIP specifications.

  Note that this method normalizes paths depending on the platform
  detected by $^O -- that is, Win32 style paths can only be normalized if
  the module is currently running under Win32.

  By default, this method will relativize file paths to the current
  working directory (using File::Spec's "abs2rel" method without a $root).
  To disable this behaviour, set $rel to a false value.

  Example code:

    # Useful for normalizing Win32-style paths
    my $normal = Module::Manifest->normalize('t\\test\\file');
    # Returns: t/test/file (ie, in Unix style for MANIFEST)

  This returns a normalized version of the given path.

$manifest->file
  The "file" accessor returns the absolute path of the MANIFEST file that
  was loaded.

$manifest->skipfile
  The "skipfile" accessor returns the absolute path of the MANIFEST.SKIP
  file that was loaded.

$manifest->dir
  The "dir" accessor returns the path to the directory that contains the
  MANIFEST or skip file, and thus SHOULD be the root of the distribution.

$manifest->files
  The "files" method returns the (relative, unix-style) list of files
  within the manifest. In scalar context, returns the number of files in
  the manifest.

  Example code:

    my @files = $manifest->files;

LIMITATIONS The directory returned by the "dir" method is overwritten whenever "open" is called. This means that, if MANIFEST and MANIFEST.SKIP are not in the same directory, the module may get a bit confused.

SUPPORT This module is stored in an Open Repository at the following address:

<http://svn.ali.as/cpan/trunk/Module-Manifest>

Write access to the repository is made available automatically to any
published CPAN author, and to most other volunteers on request.

If you are able to submit your bug report in the form of new (failing)
unit tests, or can apply your fix directly instead of submitting a
patch, you are strongly encouraged to do so. The author currently
maintains over 100 modules and it may take some time to deal with
non-critical bug reports or patches.

This will guarantee that your issue will be addressed in the next
release of the module.

If you cannot provide a direct test or fix, or don't have time to do so,
then regular bug reports are still accepted and appreciated via the CPAN
bug tracker.

<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-Manifest>

For other issues, for commercial enhancement and support, or to have
your write access enabled for the repository, contact the author at the
email address above.

AUTHOR Adam Kennedy <adamk@cpan.org>

Jonathan Yu <frequency@cpan.org>

SEE ALSO ExtUtils::Manifest

COPYRIGHT Copyright 2006 - 2009 Adam Kennedy, et al.

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

The full text of the license can be found in the LICENSE file included
with this module.