Laser lights with relativistic intensities and pulse lengths exceeding picosecond (ps) have been available recently. Fast electron generation in laser-plasma interactions is found to be increased significantly when the laser pulse length exceeds picoseconds. Since the ps relativistic regime corresponds to the mesoscale between kinetic and fluid regimes, theories for sub-ps interactions cannot be scaled up simply. We here present energetic electron generation in a ps relativistic laser-foil interaction, and show the role of the limit of laser penetration by the hole boring process and electron recirculation around the foil in the acceleration. We find that the high energy tail of electrons starts to evolve beyond the conventional ponderomotive scaling after the hole boring reaches to the limit density, and the energy distribution settles in a power law function through a stochastic interaction with the laser field. The present study of superthermal electron generation in the mesoscale laser-plasma interaction can be a basis for laboratory applications and also can provide a key to understand astrophysical phenomena such as cosmic ray acceleration.