#!/usr/bin/perl -w open FILE , '<' , "mylist.txt" || die "$!"; while (){ chomp; system("cp $_ newdirectory/"); } close FILE;