Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I like to use a tweaked copy of mjd's Devel::Trace for this purpose ($TRACE is set to 0 by default). It's fairly verbose as it prints each line before executing it (similar to bash's -x flag) so it doesn't really help unless you have a somewhat good idea where a problem is occurring, but if you're in one of those situations where brute force is required it's definitely useful.
  • > perl -d

      DB<1> t
    Trace = on

      DB<1> c

    • Ah, neat. You can make this happen w/o user interaction with a ~/.perldb too.

      # ~/.perldb
      push @DB::typeahead = (