Re: Processing files in a directory

[email protected] ("John W. Krahn") Mon, 10 Nov 2008 21:40:56 -0800
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
Susheel Koushik wrote:
> use the PERL system command. Its a wrapper for system call on your host OS.
> 
> ex: system("rm *.tmp");

Why, when you can just do:

unlink <*.tmp>;



John
-- 
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall