Taste difference of bottled beer vs. canned beer
According to the only study we have(PDF of original study) on the topic, it does not make a difference whether beer comes from a bottle or can.  In this study, participants who were shown the bottle or can had a preference for bottles, but participants who were not shown the beer container did not.

Results from the blind taste test – when participants had no knowledge about the beers or where they came from – showed that there were no preferences for bottled or canned beer, one way or another. Nearly 45% of participants rated the canned beer better than the bottled, 41% of participants rated the bottled beer better than the canned, and close to 1.5% said they both tasted the same.

Of necessity, the participants in this study were drinking from a plastic cup.  So it remains possible that you can taste the container directly if you are drinking straight from the bottle or can, with the glass or aluminum touching your lips.