CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Looking into used modules while debugging

 



bongu
New User

Feb 27, 2008, 2:41 PM

Post #1 of 1 (258 views)
Looking into used modules while debugging Can't Post

hello,

I'd like to step through the code of imported subroutines of CPAN modules while debugging. For example, let's say I have:
--------example.pl---------
#!/usr/bin/perl

use Foo::Bar;

my $tmp = 0;
----------------

if I run:

perl -d example.pl, it starts at the 'my $tmp = 0;' line. Let's say there's a lot of auto-magical things that happen when using Foo::Bar that I'd like to step through. How would I do that?

Code



      
    

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives