Tahiti and Spain had already secured qualification from Group A making this match - played in unusually wet and cool conditions - the only dead-rubber in the final matchday of the group stage.
USA were unlucky to be edged out in extra time against Tahiti in their previous outing, while UAE fell 5-2 to Spain.
The contest was duly an open affair, with the pair exchanging two goals apiece in the opening third.
The third period commenced with Perera notching his treble, while Hasan Alhammadi pulled a goal back almost immediately with his second.
UAE goalkeeper Abbas Hussain edged UAE closer hitting one of the most spectacular long-range strikes of the tournament.
Jason Leopoldo matched that by delivering a perfectly executed and extravagant bicycle kick to restore the two-goal margin and give the Americans more breathing space.
It was USA’s first win since their last tournament appearance in 2007 leaving them in third ahead of their rivals.