OK. Im moving along the PERL learning curve quite well until I hit this wall......Please excuse my ignorance at this stage if this is something that is REALLY basic.
At a command shell, I can type:
zgrep -c '*.pdf' textfile.txt
and come back with a count. How can I execute this command with a PERL script and get that count that it retruns?
I believe that what you are trying to do can be easily accomplished with:
$results = `zgrep -c '*.pdf' textfile.txt`;
Keep in mind that those are back-ticks, not single quotes.
-- Andrew Gaffney
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]