in reply to Debugging bigrat?

The mystery is why "print" doesn't work for bigrat when entered in the debugger:

scope is scope

$ perl -de 1 Loading DB routines from perl5db.pl version 1.33 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(-e:1): 1 DB<1> use bigrat; DB<2> print 1/3 + 1/4,"\n"; 0.583333333333333 DB<3> use bigrat; print 1/3 + 1/4,"\n"; 7/12 DB<4> q

Replies are listed 'Best First'.
Re^2: Debugging bigrat? (perl5db.pl scope)
by jabowery (Beadle) on Jun 02, 2013 at 16:09 UTC
    "scope is scope" but what you are really saying is that the debugger's scope is not the same as that of the program it is debugging.

    How can one activate bigrat in the debugger's scope?