The way I teach it,(realizing the day we live in), is "selective viewing".
I teach if you have a problem with TV and find yourself not being able to "walk out" during dicey programming, then by all means get rid of it or just dont watch it(if you are in a situation that others in the household have a say).
Same with the internet, if you have a gravitation towards porn and cannot completely stop looking for it, you should ban it from your life.(to some, it is a magazine rack in their house).
"the eye is the light of the body"
Matthew 6:22-23
King James Version (KJV)
22 The light of the body is the eye: if therefore thine eye be single, thy whole body shall be full of light.
23 But if thine eye be evil, thy whole body shall be full of darkness.
If therefore the light that is in thee be darkness, how great is that darkness!