open(FILE, "exporteddata.txt"); chomp(my $storenum = ); # get the storenum while() { print OUTP "$storenum $_"; } close(OUTP); close(FILE);