1
 $ perl -e 'print "$_\n" for (1..10);'

May 30, 2017, 2:47 p.m.abhinickz6

Explanation

Print the number with newline character which could be replaced by any char.