in reply to Re: search match within flat text file
in thread search match within flat text file

basically whats happening is that $vchpage is getting set as "cat $tmp"

Nope - he's setting $vchpage to the result of the command 'cat filename'. ('cat' is like 'type' on M$/DOS - it lists the file to the STDOUT)

The (backtick) ` operator returns the result of the command. It is not a quote operator like (quote) ' and (doublequote) ".

This is explained on the perlop man page under Quote and Quote-Like operators



grep
These are not the monks you are looking for, move along