It's also very common now for companies to buy back a ton of stock thus lowering the share denominator in the earnings portion of the ratio, while not actually growing revenue much if at all.
P/E = stock price / (earnings / # of shares oustanding)
And it actually does matter because a company can steadily grow EPS while not growing revenue meaning that something might be amiss, but it can easily be overlooked because EPS has been growing. Also, there are plenty of reasons not to want buybacks. Many times companies will buy their stock when it's at highs, thus destroying value for shareholders.