in reply to File::Copy Problem on Mac OS X
I created a file named 'testing spaces.txt' containing some text, and ran the script via#!/usr/bin/perl use strict; use warnings; use File::Copy; my $source = $ARGV[0]; my $target = $ARGV[1]; copy($source, $target) or die "Can't copy files ($!) ($?)\n";
./copy.pl "testing spaces.txt" output.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Copy Problem on Mac OS X
by ademmler (Novice) on Jun 03, 2008 at 11:59 UTC | |
by marto (Cardinal) on Jun 03, 2008 at 12:25 UTC | |
by ikegami (Patriarch) on Jun 04, 2008 at 03:53 UTC | |
by ademmler (Novice) on Jun 03, 2008 at 22:30 UTC |