use File::Copy qw(copy move); my $filename1 = "/tmp/blah blah blah.txt"; my $filename2 = "/tmp/TargetLocation/blah blah blah.txt"; copy( $filename1, $filename2);
At a guess you were trying to shell out to "cp", right?
You might try looking at: String::ShellQuote
In reply to Re: Escape blank spaces
by doom
in thread Escape blank spaces
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |