Etymology
Today it means: In a confused or puzzled manner. Full definition →
From perplexed + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.