NAME

Perl::Dist::WiX::DirectoryTree2 - Base directory tree for Perl::Dist::WiX.

VERSION

This document describes Perl::Dist::WiX::DirectoryTree2 version 1.090.

DESCRIPTION

This is an object that establishes a directory tree.

METHODS

new

my $tree = Perl::Dist::WiX::DirectoryTree2->new(
	app_dir => 'C:\strawberry',
	app_name => 'Strawberry Perl'
);

Creates new directory tree object and creates the 'root' of the tree.

Note that this object is a MooseX::Singleton object.

instance

my $tree = Perl::Dist::WiX::DirectoryTree2->instance();

Returns the previously created directory tree.

get_root

my $directory_object = $tree->get_root();

Gets the Perl::Dist::WiX::Directory object at the root of the tree.

initialize_tree

$tree->initialize_tree($perl_version);

Adds a basic directory structure to the directory tree object.

add_directory

$tree->add_directory($directory);

Adds a directory to the tree, including all directories required along the way.

as_string

print $tree->as_string();

Prints out the tree as a series of XML tags.

get_directory_object

Calls Perl::Dist::WiX::Directory's get_directory_object routine on the root directory with the parameters given.

search_dir

Calls Perl::Dist::WiX::Directory's search_dir routine on the root directory with the parameters given.

DIAGNOSTICS

See Perl::Dist::WiX's DIAGNOSTICS section for details, as all diagnostics from this module are listed there.

SUPPORT

Bugs should be reported via:

1) The CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Perl-Dist-WiX if you have an account there.

2) Email to <bug-Perl-Dist-WiX@rt.cpan.org> if you do not.

For other issues, contact the topmost author.

AUTHORS

Curtis Jewell <csjewell@cpan.org>

SEE ALSO

Perl::Dist, http://ali.as/, http://csjewell.comyr.com/perl/

COPYRIGHT

Copyright 2009 - 2010 Curtis Jewell.

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.