in reply to Turning a script into a solid block of code

perltidy -mangle -dac -st yourprogram | tr -d '\n'