A program that changes the value of $/.
#!/usr/local/bin/perl $/ = ":"; $line = <STDIN>; print ("$line\n");