Java-Build

 view release on metacpan or  search on metacpan

Build/Tasks.pm  view on Meta::CPAN

to the directory from which the script was launched.

=item NEW_PROPS

A hash reference with the keys you want to change or add and their new values.

=back

=cut

sub update_prop_file {
    my %args             = @_;
    my $name             = delete $args{NAME}
        or _my_croak "You didn't supply a NAME to update_prop_file";
    my $new_props        = delete $args{NEW_PROPS}
        or _my_croak "You didn't supply a NEW_PROPS to update_prop_file";

    _my_croak "Bad argument to update_prop_file: ", keys %args if (keys %args);

    my $old_props        = read_prop_file($name) || {};
    my %output_props     = ( %$old_props, %$new_props );

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.449 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )