better output
git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@238
836a5e1a-633d-0410-964b-
294494ad4392
foreach my $name ( keys %$requests ) {
my $from = $requests->{$name};
my $to = "$test_path/$name";
foreach my $name ( keys %$requests ) {
my $from = $requests->{$name};
my $to = "$test_path/$name";
+ if ( -e $to ) {
+ warn "SKIP $to\n";
+ next;
+ }
warn "## $from -> $to\n";
warn "## $from -> $to\n";
my $xml = read_file( $from );
write_file( $to, $xml );
DumpFile( "$to.yml", xml2state( $xml ) );
my $xml = read_file( $from );
write_file( $to, $xml );
DumpFile( "$to.yml", xml2state( $xml ) );