use the PERL system command. Its a wrapper for system call on your host OS.
ex: system("rm *.tmp"); susheel On Mon, Nov 10, 2008 at 3:32 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > Hi Everyone, > > I have around 2000 files in a directory. During processing of these > files, a temp* will be created for each file and its removed after > processing that file. If the processing is unsuccessful, temp* file > still exists. Can u plz help me to write a script to automate this > process using Perl ie., when a temp* file is found (which stays for > abt 10 secs max), I hv to move that temp* file to some other folder. > > Thanks in advance, > Satish > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > > -- Susheel Koushik M Graduate Student Ira A Fulton School of Engineering Arizona State University