A big clue here is that the 5th Louisiana Infantry was no where near Perryville but in the Army of Northern Virginia.