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.
  • This .perldb adds an option called 'animate' that controls TextMate synchronisation. Normally TextMate will only sync on lines that the debugger displayes. Turn animate on

    o animate=1

    to see an animated display of all lines the debugger executes.

    use TextMate::JumpTo qw(jumpto);
    use File::Spec;

    parse_options( "windowSize=30 " );

    sub afterinit {
        $trace |= 4;    # Enable watchfunction

        # Needed to work out where filenames are relative to
        chomp( $base_dir = `

  • This is just hella cool. Thanks, Andy!

    N.B.: Users may need to chmod 644 ~/.perldb to get this working correctly (depending on their default umask).

    The great thing about multitasking is that several things can go wrong at once.