@gemswinc That was Walt Kelly's comic strip Pogo, not the Commodore. I'd let it go, but it's such a deft and brilliant paraphrase it's become better known than its creator (no relation AFAIK).
The original was "We have met the enemy and they are ours," written by Commodore Oliver Hazard Perry after defeating a force of American Indians on Lake Erie in 1813 -- long before the other Commodore Perry, Matthew Calbraith, forcibly opened Japan to trade with the West.
@ImagineThat I did see the different quote before I posted, had no idea about Pogo. Thanks for the clarification. Either way, it's the truth