http://www.perlmonks.org?node_id=993863


in reply to copy and update through perl

Please read Writeup Formatting Tips.
You can read files in a directory like this ..
@files = <path>; foreach $file (@files) { print $file . "\n"; if ( $file =~ /*\.txt/) { #add to table #copy file }
Not tested
Please search nodes before posting a query. copy files from one directory to another.

The script would update this variable value in a table.
which type of table (database ot text) ?