on Thu, 11 Jul 2002 19:47:35 GMT, Rupert Heesom wrote:

> I'm stuck again!
>
>  "C:\Perl\TIFFPDF>perl -d tiffpdf.pl
> usage: Win32::CopyFile($from, $to, $overwrite) at tiffpdf.pl line 39,
> <CFG> line 6."
> 
> The code line is:  Win32::CopyFile $CurrTIFFDir."\\".$_.".tif",
> $WorkDir."\\ImageMagick";

If it wants three parameters, give it three. Either

Win32::CopyFile($from, $to, 1); # if you want to overwrite an existing $to
Win32::CopyFile($from, $to, 0); # if you don't want to overwrite an 
                                # existing $to

will work, depending on your need.

-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to