There's more than one way to do things | |
PerlMonks |
Re: Perl and or Grep Help!by Anonyrnous Monk (Hermit) |
on Jan 17, 2011 at 20:48 UTC ( [id://882750]=note: print w/replies, xml ) | Need Help?? |
For one, you need to quote the *.pl, so the shell doesn't expand it. I.e., either
or
(the -print0 / -0 combination is for when the filenames contain spaces — good habit to get into, even if they don't, for now)
In Section
Seekers of Perl Wisdom
|
|