in reply to copying file from one server to other

Hello vickey110 and welcome to the monastery and to the wonderful world of Perl!

Well.. post are more welcome when they contain some Perl effort from part. If you show us what you tried monks can adjust their help based on your skill. Infact probably will be not so useful for you if i had answered something like: perl -le "system qq(prog $_) for glob $ARGV[0]" *.csv no?

If you want to create a perl program to process many files be sure to use strict and use warnings at the top of the program.

After you can profit of the glob function to build up a list of all .csv files. Then you can build up a foreach loop to process them.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.