A 20-YEAR-OLD man charged over a brutal bashing later boasted on Facebook how he attacked someone with a baseball bat, a Perth court has been told.

A 73-year-old man, known as Wally, went outside his Camillo home about 10.30pm on Sunday night when he was attacked by a group of men with baseball bats.

Robert Collard, 20, of South Lake, today appeared in Armadale Magistrates Court charged with intent to cause grievous bodily harm.

Prosecuting Sergeant Shaun Bailey told the court that Collard boasted about the attack just hours after the elderly man was assaulted.

Sgt Bailey read out what he claimed was a portion of Collard's late-night Facebook conversation with a friend, to Magistrate Elizabeth Langdon.

Sgt Bailey said the Crown had a strong case against Collard, including six witnesses and police had recovered a baseball bat from Collard which was allegedly used in the attack.

He told the court Collard posted comments on Facebook just after midnight, less than two hours after the attack.

Sgt Bailey told Magistrate Langdon: "And I quote: "Mad c..t goin' down the road, flogging sum c...t with a bat."

Collard, who was not represented by a lawyer, made a personal bail application, which was strongly opposed by the Prosecutor and refused by Magistrate Langdon.

Sgt Bailey said Collard posed a risk to the witnesses and may interfere with them.

Collard, who was flanked by three security guards in court today and had no shoes on, said he wanted to defend the charges.

"I'm pleading not guilty and I want to get more legal advice," he told the court.

In refusing the 20-year-old bail Magistrate Langdon said she had grave concerns that Collard posed a further risk to the community.

"That is a very serious set of circumstance which has been read out,'' she said.

Collard was remanded in custody to reappear tomorrow, when he will be represented by a lawyer, to make another bail application.

The court was also told Collard allegedly hit his victim on the back of the head first with the baseball bat, which he had concealed under his shirt.

Sgt Bailey said Collard then struck the man on the legs, back and ribs.

He was with six juveniles, who have not been charged, the court was told.

The victim sustained broken bones, cuts and bruises in the attack and is still recovering in hospital after having a plate and pin inserted into his broken elbow and forearm.

Wally said he would have been killed if a nearby resident had not intervened.

He described his attacker as a young Aboriginal man who was with a group of six other Aboriginal youths.

The bashing prompted West Australian Police Commissioner Karl O'Callaghan to call for a public debate on Aboriginal youth crime, saying a lot of Aboriginal people wanted to do something about the problem.

He said intervention was needed to prevent Aboriginal children from roaming the streets at night and getting into trouble.

Former West Coast Eagles AFL star David Wirrpanda has also called for action and has asked for more government funding for community foundations.