Config-Properties-Commons

 view release on metacpan or  search on metacpan

lib/Config/Properties/Commons.pm  view on Meta::CPAN


    $cpc->delete_property('foo');

This method deletes a property specified by C<< $key >> from the
object.

This method can also be called using the C<< clearProperty() >> or C<<
deleteProperty() >> aliases.

=head3 C<< reset_property( key => 'value' ) >>

This method is equivalent to C<< delete_property('key');
add_property(key => 'value' ); >> - which means any previously set
property is forgotten.

This method can also be called using the C<< set_property() >>, C<<
setProperty() >>, or C<< changeProperty() >> aliases.

=head3 C<< clear_properties() >>

    $cpc->clear_properties();

This method deletes all properties loaded.

This method can also be called using the C<< clear() >> alias.

=head1 SEE ALSO

=over

=item L<< Config::Properties >>

=item L<< PropertiesConfiguration JavaDoc|http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/PropertiesConfiguration.html >>

=back

=head1 DEPENDENCIES

=over

=item perl-5.8.1

=item L<< Encode >>

=item L<< File::Basename >>

=item L<< File::Slurp >>

=item L<< File::Spec >>

=item L<< List::Util >>

=item L<< Params::Validate >>

=item L<< String::Util >>

=item L<< Text::Wrap >>

=back

=head1 BUGS AND LIMITATIONS

Please report any bugs or feature requests at
L<https://github.com/mithun/perl-config-properties-commons/issues>

=head1 TODO

Provide support for remembering property format and order when parsed

=head1 AUTHOR

Mithun Ayachit C<mithun@cpan.org>

=head1 LICENSE AND COPYRIGHT

Copyright (c) 2014, Mithun Ayachit. All rights reserved.

This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself. See L<perlartistic>.

=cut



( run in 1.727 second using v1.01-cache-2.11-cpan-39bf76dae61 )