Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: $self->do_it("now") question

by stevieb (Canon)
on Jul 21, 2015 at 13:54 UTC ( [id://1135622]=note: print w/replies, xml ) Need Help??


in reply to $self->do_it("now") question

Use the debugger... put a breakpoint on the line before the call $DB::single = 1;:

$DB::single = 1; $des->all();

Then run it from the command line with the -d param: perl -d script.pl. You'll be dropped into the debugger. Simply type c to 'continue' all the way to your breakpoint, then s to 'step' into the next line of code which should give you some insight:

main::(test.pl:6): my $des = Devel::Examine::Subs->new({file => 'sh +ift.pl'}); DB<1> c main::(test.pl:9): $des->all(); DB<1> s Devel::Examine::Subs::all(/usr/lib/perl5/site_perl/5.22.0/Devel/Examin +e/Subs.pm:382): 382: my $self = shift;

-stevieb

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1135622]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-23 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found