#!/usr/bin/perl $_ = ; chomp; print "foo => '$_'"; #### - print $in q|some json|; + print $in "some json\n";