Re: Processing files in a directory
[email protected] ("Susheel Koushik") Tue, 11 Nov 2008 14:17:13 -0700
| Newsgroups | perl.beginners.cgi |
|---|---|
| Message-ID | <[email protected]> |
of course, there are many ways to do a job in perl. Its upto the implementer to choose. -Susheel On Mon, Nov 10, 2008 at 10:40 PM, John W. Krahn <[email protected]> wrote: > 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 > > -- > 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