The calculated distance (air line) between Perry and Middleburg is approximately 103 miles respectively 166 kilometers.
By car or train, the actual journey to Middleburg is certainly longer, as only the direct route (as the crow flies) between Perry and Middleburg has been calculated here.
Air line (approximately)
166 kilometers
89 nautical miles