in reply to Re^4: panic: attempt to copy freed scalar a7b9650 to ad20598
in thread panic: attempt to copy freed scalar a7b9650 to ad20598
Does using $ev in place of $_ in the last line of this snippet (in the real code) make any difference?
my $ev = $_; #### You set $ev = $_ here if ($sometimes) { # sometimes goes this path and sometimes the + else eval { dave('proc2', {}, 'arg1', 'arg2'); 1; } or $log->warn("failed $@"); } else { $log->logwarn("test $_"); #### But then use $_ here
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: panic: attempt to copy freed scalar a7b9650 to ad20598
by mje (Curate) on Dec 03, 2009 at 17:23 UTC |