Please bottom post.

> 1. You are missing ";" 
> Type
> `egrep $name testing.txt`;
> And not
> 'egrep $name testing.txt'
> 
> Not the backticks and not quotes ...
> 

There's also no reason to use backticks in void context.

perldoc -f system

Please use full paths, error check, etc. if you are going to shell out,
which brings me to the next point, why shell out to 'egrep' in the first
place, you should either do it in Perl using open, while, a regex, etc.
or use a shell script....

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to