Blackburn 2-1 Barnsley
Nuno Gomes scored his fourth goal in as many games to hand Championship leaders Blackburn victory over Barnsley.
The 36-year-old converted fellow substitute and Portuguese Fabio Nunes's cross from inside the six-yard area.
Jacob Mellis gaves the Tykes the lead when he fired into the top corner from 12 yards.
Rovers's record signing Jordan Rhodes equalised when he swept in Bradley Orr's free-kick before Gomes grabbed the winner five minutes from time.
Victory means that Steve Kean's men remain unbeaten and maintain their 100% home record.
It is their best start to a league campaign since 1994.
The home side also went close when Grant Hanley headed Morten Gamst Pedersen's corner over the crossbar and Rhodes fired a shot narrowly wide.
Blackburn's defence had to stay alert all night. Their keeper Paul Robinson made a great save to keep out Mellis's drive.
And the Blackburn shot-stopper came to the rescue again when he palmed away striker Craig Davies's effort.
It was Barnsley's fifth successive away defeat. Keith Hill's side lie in 17th place, with seven points from six matches.