|[Table of Contents]||[Text::Wigwam Index]|
Text::Wigwam::Paths::Class - Manages a list of directory paths.
This module was designed to manage a single list of arbitrary directory paths. It is not intended to be used directly, but through its parent module Text::Wigwam::Paths.
my $Path = Text::Wigwam::Paths::Class->new qw( class_name );
The path list can then be manipulated via a few simple methods.
The set method replaces any pre-existing list with a new list and then returns the new list.
$Path->set( @pathlist );
The add method appends new list items to the end of any pre-existing list items, then returns the new list.
my @path2 = $Path->add( '/path/to/alt/files' );
The get method simply returns the specified list.
my @path3 = $Path->get;