Devel::Command::NewF is a Perl module with the extended 'f' command for the debugger.
SYNOPSIS
# In .perldb (or perldb.ini on Windows)
use Devel::Command;
# Devel::Command::NewF loaded automatically
perl -de0
Patching with Devel::Command::DBSub::DB_5_8_5
Loading DB routines from perl5db.pl version 1.27
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(-e:1): 0
DB< 1 > fx Test::More
Loaded Test::More
auto(-1) DB< 2 > f /home/y/lib/perl5/5.8/i386-freebsd-thread-multi/Test/More.pm
1 package Test::More;
2
3: use 5.004;
4
5: use strict;
6
7
8 # Can't use Carp because it might cause use_ok() to accidentally succeed 9 # even though the module being used forgot to use Carp. Yes, this
10 # actually happened.
DB< 3 >
This module extends the debugger's 'f' command so that you can simply enter the standard module name to switch the debugger to it:
DB< 1 > fx My::Module
This would look for My::Module in %INC; if it was not found, we would attempt to 'use' the module. If this also fails, we give up, with an error message.
Product's homepage
Requirements:
· Perl