It happened on South Street at approximately 15:30 on Saturday 08 June 2024.
A 41-year-old man was taken to Perth Royal Infirmary for treatment.
The first man was wearing a black t-shirt, blue jeans and black shoes with a white trim. The second was wearing jeans but no top.
Detective Constable Ruth Mein, said:
"I'm appealing for anyone with information, who saw what happened or recognises the description of these men to come forward. If you were driving in the South Street area around the time and have a dashcam, please review your footage and bring anything of significance to our attention."
Anyone with information is asked to contact Police Scotland on 101 quoting Reference Number 0527 of 8 June 2024.
Alternatively, you can contact CrimeStoppers, anonymously, on 0800 555 111.