#!/usr/bin/perl use strict; use warnings; use File::Copy; open(TEST, ">>Append_Data"); copy(".data_file", \*TEST); close TEST; #### line1 ^M line2 ^M