On Thu, 13 Jan 2005, JupiterHost.Net wrote:

> > > perl -mstrict -we 'for(`ls`) { chomp;print `grep foo $_`; }'
> >   By which you're basically saying the following non-Perl statement::
> 
> 
> Right we already covered that a day or so ago, the shell is not the 
> way to go:

Oh?

I love Perl, but it isn't the right tool for every problem.

In this case, I think the OP just wanted, in a convoluted way, this:

    $ some_program *

I see no way in which Perl can make this simpler. :-)
 
 

-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to