IE: I shot an elephant in my pajamas.
IE: I shot an elephant in my pajamas.
I dont' understand this
https://writingexplained.org/grammar-dictionary/dangling-modifier
A modifier describes or qualifies another part of a sentence. A dangling modifier occurs when the intended subject of the modifier is missing from the sentence, and instead another subject appears in its place.
Understanding wordplay, the sentence made sense.