Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: action in debugger - how to turn off (fix)

by tye (Sage)
on Nov 06, 2012 at 22:59 UTC ( #1002595=note: print w/ replies, xml ) Need Help??

in reply to Re^2: action in debugger - how to turn off
in thread action in debugger - how to turn off

Looks like a problem 'use strict' would have caught. It can be fixed by just inserting one line into "sub DB" of

my $action;

Update (late): Broken by:

commit 04e43a21088e2c6b07ebde9e57007350cfd7310b Author: Daniel S. Lewart <> Date: Tue May 22 21:18:03 2001 -0500


- if (($stop,$action) = split(/\0/,$dbline{$line})) { + if ($dbline{$line} && (($stop,$action) = split(/\0/,$dbline{$line +}))) {

But I'd still fix it by just putting a line before that:

my( $stop, $action );

There's nothing like fixing a decade-old bug.

- tye        

Comment on Re^3: action in debugger - how to turn off (fix)
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (18)
As of 2015-11-24 22:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (664 votes), past polls