C:\mycode>perl -le "print $_ for qw[spam bacon eggs]" > things.txt C:\mycode>cat things.txt spam bacon eggs C:\mycode>tac things.txt eggs bacon spam