rovf has asked for the wisdom of the Perl Monks concerning the following question:
I'm using in my program in my program the function dircopy from File::Copy::Recursive. This worked fine so fast, but recently (and, no, I am not aware that I have changed something in the call to this function), I get error message like
when calling it. Note that the error is triggered in File::Copy, which is a standard module. Looking at the source of my version of Copy.pm, I see that the offending line in File/Copy.pm is the line containing the if expressionAttempt to free unreferenced scalar: SV 0x3f7b6d8, Perl interpreter: 0 +x15d4884 at e:/Tools/Perl587/lib/File/Copy.pm line 91.
which looks pretty innocent to me. I googled for this error message, and though I found other people also observing this error in Copy.pm, I didn't find any solution to this. Any ideas what I could do here?if (!$from_a_handle && !$to_a_handle && -d $to && ! -d $from) { $to = _catname($from, $to); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Attempt to free unreferenced scalar in Copy.pm
by mr_mischief (Monsignor) on Oct 28, 2008 at 16:40 UTC | |
by rovf (Priest) on Oct 29, 2008 at 08:24 UTC | |
|
Re: Attempt to free unreferenced scalar in Copy.pm
by JadeNB (Chaplain) on Oct 29, 2008 at 00:02 UTC | |
by ikegami (Patriarch) on Oct 29, 2008 at 08:48 UTC |