Hi Perl Monks,
I need to be able to write a perl script that can create and remove directories and files on both windows and unix based systems.
I could use the system(mkdir mydir) command and just have different code that runs depending on the file system, how I thought there might be a core perl module out there which would run on both platforms. Assuming that I can't find a perl module and I opt for the system() method, is there a DOS command that will allow me to remove entire directories and files, i.e. like 'rm -r mydir' in UNIX.
thanks for your help,
Tom
In reply to platform independent system commands by CodeJunkie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |