protector330
09-13-2002, 07:19 AM
hello :)
is some perl guru out there? ;) I've a perlscript which creates a directory (this works), but it should further copy a file into this directory.
The make directory code works fine:
mkdir ("$base_dir/$login", 0777) || die("Could not create user directory:");
Could you please tell me how to code this statement in perl?
copy var/www/html/username/pic.jpg to $base_dir/$login/pic.jpg
Thanks indeed for your help!
Cheers,
chris
is some perl guru out there? ;) I've a perlscript which creates a directory (this works), but it should further copy a file into this directory.
The make directory code works fine:
mkdir ("$base_dir/$login", 0777) || die("Could not create user directory:");
Could you please tell me how to code this statement in perl?
copy var/www/html/username/pic.jpg to $base_dir/$login/pic.jpg
Thanks indeed for your help!
Cheers,
chris
