#!/usr/bin/perl -w use strict; $/="|"; print $_..."\n" while (); =prints: a|b|c| d|e|f| g|h|i| =cut __DATA__ a|b|c|d|e|f|g|h|i|