On Fri, 5 Oct 2001, Tyler Cruickshank wrote:

> Hi.  Im running perl via cygwin on NT.  I want to remove all files *.1.txt.
>
> I have tried:
>
> 1) system("rm *.t.txt");
>
> 2) $file = '*.1.txt';
>     system("rm $file");
>
> 3) system('rm *.1.txt');

You don't need to use the system call for that -- take a look at the
File::Copy module (using your perldoc tool) and see what it offers.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
The first 90% of a project takes 90% of the time, the last 10% takes the
other 90% of the time.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to