The longitudinal segmentation of shashlik calorimeters is challenged by dead zones and non-uniformities introduced by the light collection and readout system. This limitation can be overcome by direct fiber-photosensor coupling, avoiding routing and bundling of the wavelength shifter fibers and embedding ultra-compact photosensors (SiPMs) in the bulk of the calorimeter. We present the first experimental test of this readout scheme performed at the CERN PS-T9 beamline in 2015 with negative particles in the 1-5 GeV energy range. In this paper, we demonstrate that the scheme does not compromise the energy resolution and linearity compared with standard light collection and readout systems. In addition, we study the performance of the calorimeter for partially contained charged hadrons to assess the e/π separation capability and the response of the photosensors to direct ionization.