in reply to debugger with b load "file"

Ok.. I think I figured it out.

I checked the paths and perms everything is where I expect it to be and has sufficient permissions to be read.

I then took a walk through the source code and discovered that the module is being loaded inside an eval .. which I'm guessing is why the debugger never sees it load

Thanks

Replies are listed 'Best First'.
Re^2: debugger with b load "file" (!eval)
by tye (Sage) on May 01, 2012 at 20:37 UTC
    the module is being loaded inside an eval .. which I'm guessing is why the debugger never sees it load

    No, still works for me:

    $ perldoc -l File::Spec::Unix /usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm $ perl -de 'eval { require File::Spec }' Loading DB routines from perl5db.pl version 1.25 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(-e:1): eval { require File::Spec } DB<1> b load /usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm Will stop on load of `/usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm'. DB<2> c '/usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm' loaded... File::Spec::Unix::(/usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm:6): 6: $VERSION = '1.5'; DB<2> q

    - tye