Subject: | panic: attempt to copy freed scalar |
perl -MCarp -le 'f(@ARGV); sub f { my $x = shift(@ARGV); carp($x)}' a v
panic: attempt to copy freed scalar 183d588 to 1854078 at /usr/share/
perl/5.12/Carp.pm line 104.
Carp's crash looses the original error message and all additional
information.
I don't know how, but Carp should catch this error and report everything
which is possible.