Use "l LWP::UserAgent::new" and/or "b LWP::UserAgent::new" to save yourself a lot of typing:
% perl -del Loading DB routines from perl5db.pl version 1.33 ... DB<1> use LWP::UserAgent DB<2> l LWP::UserAgent::new Switching to file '.../lib/LWP/UserAgent.pm'. 31 { 32 # Check for common user mistake 33: Carp::croak("Options to LWP::UserAgent should be key/value + pairs, no t hash reference") 34 if ref($_[1]) eq 'HASH'; 35 36: my($class, %cnf) = @_; 37 38: my $agent = delete $cnf{agent}; 39: my $from = delete $cnf{from}; 40: my $def_headers = delete $cnf{default_headers}; DB<3> l 30 30 sub new DB<4> b LWP::UserAgent::new DB<5> L .../lib/LWP/UserAgent.pm: 33: Carp::croak("Options to LWP::UserAgent should be key/value + pairs, not hash reference") break if (1) DB<6>
- tye
In reply to Re: Using the debugger's R command to debug "hard" problems (l,b w/ ::)
by tye
in thread Using the debugger's R command to debug "hard" problems
by pemungkah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |