Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: panic: attempt to copy freed scalar a7b9650 to ad20598

by mje (Curate)
on Dec 03, 2009 at 17:09 UTC ( [id://810878]=note: print w/replies, xml ) Need Help??


in reply to Re^3: panic: attempt to copy freed scalar a7b9650 to ad20598
in thread panic: attempt to copy freed scalar a7b9650 to ad20598

Not sure what you mean by that.

  • Comment on Re^4: panic: attempt to copy freed scalar a7b9650 to ad20598

Replies are listed 'Best First'.
Re^5: panic: attempt to copy freed scalar a7b9650 to ad20598
by BrowserUk (Patriarch) on Dec 03, 2009 at 17:13 UTC

    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

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Ok, I see. That was a mistake it is already $ev in the logwarn call in the original code - sorry.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://810878]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-19 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found