Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

SwaJime's scratchpad

by SwaJime (Beadle)
on Mar 15, 2013 at 20:39 UTC ( #1023773=scratchpad: print w/replies, xml ) Need Help??

So I'm stepping through some code in a cpan module ... I have undef for @_, so I'm expecting to execute line 148 next. However, the debugger puts me on line 145. Why did it go to 145 instead of 148?
DB<13> n Net::DBus::RemoteService::get_object(/usr/lib/perl5/Net/DBus/RemoteSer 144: if (@_) { DB<13> l 144==> if (@_) { 145: my $interface = shift; 146: return $self->{objects}->{$object_path}->as_interface($int +erface); 147 } else { 148: return $self->{objects}->{$object_path}; 149 } 150 } 151 152: 1; 153 DB<13> x @_ 0 undef DB<14> n Net::DBus::RemoteService::get_object(/usr/lib/perl5/Net/DBus/RemoteSer 145: my $interface = shift; DB<14> n Net::DBus::RemoteService::get_object(/usr/lib/perl5/Net/DBus/RemoteSer 146: return $self->{objects}->{$object_path}->as_interface($int +erface); DB<14> x $interface 0 undef
Log In?

What's my password?
Create A New User
[marto]: Sharepoint ss a mess
[marto]: /ss/is/
[Discipulus]: yes I can imagine marto but they dont take my opinion in consideration..
[marto]: I told our client this, they spent many years and lots of consultants to try and get it to do what they wanted. They're ditching it now

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-06-27 09:10 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (601 votes). Check out past polls.