Hi, Running unix commands in perl is fairly simple:place the command in backticks, i.e. `mkdir dir`;use system(cmd).
UGH - running Unix commands in Perl when there are perfectly good built-in functions and modules for the same thing is a waste of performance. If you need to do something like that - use File:ath's mkpath() function - it's far more efficient and portable across platforms.That being said - I think if you use iwupdate instead of iwcp and specify the target workarea as just that, the path to the workarea not the path to the file in the workarea - I believe that it will create the directories as necessary and then copy the file and all of its EAs.