$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 ; } }
In reply to Re: Multiple XML files from Directory to One XML file using perl.
by choroba
in thread Multiple XML files from Directory to One XML file using perl.
by jyo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |