How do you move an image from one folder to another using Perl?

My setup is;
Apache ,Mysql and activeperl.

I want to move (not copy) images from one folder to another.

The current script i tried using COPIED the image; and the image in the new folder had 0 bytes!

use File::Copy;
move($from_file_name, $to_file_name);

One Response to “How do you move an image from one folder to another using Perl?”

  1. use File::Copy;
    move($from_file_name, $to_file_name);
    References :

Leave a Reply