in reply to Multiple XML files from Directory to One XML file using perl.
$new := create new; for { glob "folder/*.xml" } { open (.) ; if $new/new { # for the first file, copy the root as well cp shiporder replace $new/new ; } else { cp shiporder/shipto append $new/shiporder ; } }
|
|---|