A Perth man is facing 18 charges after allegedly going on a naked rampage in which he doused a contractor at a day care centre with petrol, and attacked two women in their homes with a brick and a pitchfork.

Police allege the man, 55, broke into a home on Davenport Street in Karrinyup early on Friday morning and attacked a sleeping woman with a brick.

He then broke into another home and punched a 59-year-old woman before attacking her with a pitchfork while naked, police said.

Afterwards he allegedly broke into two more properties in the area, forcing a 73-year-old man to flee his home before entering a day care centre where he damaged a window and threatened people with a timber handle.

It is alleged he then got into a struggle with a 68-year-old male contractor at the centre, before dousing him with petrol and leaving.

He is also accused of smashing a car window and ploughing his own car into the brick pillar of a home, causing structural damage.

Workers remove blood from the footpath on Davenport Street. ( ABC News: James Carmody )

He was arrested by police a short distance away.

Forensic detectives spent Friday gathering evidence from the extensive crime scene.

Blood had to be cleaned from the exterior of Karrinyup Public Library, almost a kilometre from where the rampage came to an end.

The two women injured in the attack are being treated in hospital for non-life threatening injuries.

The woman who was attacked with the brick was expected to undergo surgery on Saturday.

The man is facing 18 charges, including three of aggravated burglary and two each of intent to cause grievous bodily harm and making threats to kill.

He is currently in a stable condition in Royal Perth Hospital and is receiving treatment for injuries relating to the incidents.

He was due to face a bedside hearing on Saturday.