in reply to perl one-liner doesn't autochomp input

Offtopic, but a solution to the ultimate problem:

perl -le'print join ":", glob "*"'

Or if you let the shell do the work for you

perl -le'print join ":", @ARGV' *

Or maybe

perl -le'$,=":";print<*>' perl -le'$,=":";print@ARGV' *

Makeshifts last the longest.