NAME

XML::Ant::Properties - Singleton class for Ant properties

VERSION

version 0.211

SYNOPSIS

use XML::Ant::Properties;
XML::Ant::Properties->set(foo => 'fooprop', bar => 'barprop');
my $fooprop = XML::Ant::Properties->apply('${foo}');

DESCRIPTION

This is a singleton class for storing and applying properties while processing an Ant build file. When properties are set their values are also subject to repeated Ant-style ${name} expansion. You can also perform expansion with the apply method.

METHODS

count

get

set

delete

exists

defined

keys

values

clear

kv

apply

Takes a string and applies property substitution to it.

BUGS

Please report any bugs or feature requests on the bugtracker website http://github.com/mjgardner/XML-Ant-BuildFile/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Mark Gardner <mjgardner@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by GSI Commerce.

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