Skip Menu |

This queue is for tickets about the File-Copy-Recursive CPAN distribution.

Report information
The Basics
Id: 25529
Status: resolved
Priority: 0/
Queue: File-Copy-Recursive

People
Owner: Nobody in particular
Requestors: jloverso [...] mathworks.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.30
  • 0.31
Fixed in: (no value)



Subject: uninit variable warnings because of missing arguments to File::Spec->catpath()
The problem is that File::Spec->catpath() requires three arguments and File::Copy::Recursive calls it with 2 arguments. It causes an "uninitialized variable" warning when running with 'use warnings'. The change is to add a another argument ('') to the two calls to catpath: 79c79 < pathrm(File::Spec->catpath($volm,$path), $ForcePth, $NoFtlPth) or return; --- Show quoted text
> pathrm(File::Spec->catpath($volm,$path,''), $ForcePth,
$NoFtlPth) or return; 118c118 < pathmk(File::Spec->catpath($volm,$path), $NoFtlPth); --- Show quoted text
> pathmk(File::Spec->catpath($volm,$path,''), $NoFtlPth);
BTW, using this module has made our tasks a lot easier and avoided a shell-out. Thank you!
Sorry for the delay, I wasn't notified of this submission. I'll get to it ASAP :)
From: DMUEY [...] cpan.org
Resolved in 0.33, thanks!