|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^3: Effective way in perlby QM (Vicar) |
| on Jul 17, 2009 at 14:48 UTC ( #781073=note: print w/ replies, xml ) | Need Help?? |
|
You have:
which isn't pure perl code anyway, is it? (It's convenient to call grep 3 times, but might be more efficient to do with Perl's own grep.) Here, you're using perl just like you would use sh. But to address your question, try: But if you need append, I don't think tee can do that. Also take a look at Regexp Quote Like Operators and What's wrong with using backticks in a void context? -QM
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||