in reply to Re: CGI Script Calling Grep
in thread CGI Script Calling Grep
Your exec didn't do what you want because... well, that's not what exec does. It doesn't capture output. Read the docs on exec, system, and backticks (``) for a better understanding. It would be safer and faster to do this using File::Find and Perl's built-in pattern matching.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: CGI Script Calling Grep
by kjherron (Pilgrim) on Sep 26, 2001 at 10:01 UTC | |
by perrin (Chancellor) on Sep 26, 2001 at 16:35 UTC |