nickheppleston has asked for the wisdom of the Perl Monks concerning the following question:

Guys,
I've written a small script that pushes files via the Net::FTP module to various servers. The script works fine, however i've just taken two days off work to come back to the script eating _all_ my system resources!!!

Looking in the error log, i get the following error:
Attempt to free unreferenced scalar at /usr/lib/perl5/5.6.0/Carp/Heavy +.pm line 137.
I've investigated upgrading the Carp::Heavy module via CPAN, but i'm currently running the latest version - is this a known bug? How would i resolve said problem? Any help would be greatly appreciated. If any code is required, please let me know.

Many thanks for you help on this matter.

Nick

Replies are listed 'Best First'.
Re: Attempt to free unreferenced scalar?!?!?!
by demerphq (Chancellor) on Dec 09, 2002 at 14:23 UTC
    I _think_ that your problem is that you are using Perl 5.6.0. I believe this was the type of bug that lead to 5.6.1 being released. Upgrade to 5.6.1 and see what happens.

    --- demerphq
    my friends call me, usually because I'm late....