in reply to Re^2: Debugging globjects/globs
in thread Debugging objects

I haven't tried it out but why do you write x dd ... if your dd() just returns an empty list ?

dd() seems to do all the writing already.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^4: Debugging globjects/globs
by Anonymous Monk on Aug 24, 2017 at 06:44 UTC

    I rarely use the debugger, so thats how I remember to run some code, kinda like cpan client .. that dd works without x is news to me

      I have no time to install those modules, but returning an empty list seems obvious

      sub dd { Dump(@_); (); }

      e.g.

      DB<18> sub dd { (1,2,3); } DB<19> x dd \@a 0 1 1 2 2 3

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

        I have no time to install those modules, but returning an empty list seems obvious

        Heh, and then?