http://www.perlmonks.org?node_id=526851


in reply to Re: Correct Regex for reading stock symbol?
in thread Correct Regex for reading stock symbol?

Also, $stock_symbol = $1; is useless, since you're capturing the entirety of the regexp.
Wrong. This is one way to untaint $stock_symbol. You can read more about taint checks in perlsec.