local $/ = "vroom"; #$/ is input separator. From now on, # script will split lines on 'vroom' local $, = "PM!PM!" #$, is print rec separator. From now on, # script will print 'PM!PM!' between items of array