Ananda has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, I am trying this
my @arr = `grep -l "<value>IsFrequentlyUsed</value>" *
to read and populate an aray with files containing the required information. This works fine.
The problem is, When this perl file is invoked from another application the "grep" throws up errors.
I am seeking solution , in populating the @arr by using the perl's grep function or in any other way without invoking the system "grep" command
All your thoughts and guidance are appriciated Thanks and regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Alternative to using system grep
by Corion (Patriarch) on Aug 18, 2004 at 06:47 UTC | |
by Aristotle (Chancellor) on Aug 18, 2004 at 12:05 UTC | |
by synistar (Pilgrim) on Aug 18, 2004 at 14:07 UTC | |
by Aristotle (Chancellor) on Aug 18, 2004 at 15:37 UTC | |
by synistar (Pilgrim) on Aug 19, 2004 at 13:26 UTC | |
|
Re: Alternative to using system grep
by Zaxo (Archbishop) on Aug 18, 2004 at 05:33 UTC | |
|
Re: Alternative to using system grep
by ysth (Canon) on Aug 18, 2004 at 05:27 UTC | |
|
Re: Alternative to using system grep
by superfrink (Curate) on Aug 18, 2004 at 15:27 UTC | |
|
Re: Alternative to using system grep
by jsadusk (Acolyte) on Aug 18, 2004 at 21:38 UTC |