in reply to Convenient way to use 5.10 features in perldebugger?

Why use say when p or x are shorter still? (//= also works):

c:\test>perl -de1 Loading DB routines from perl5db.pl version 1.32 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(-e:1): 1 DB<1> p 'huhu' huhu DB<2> $a //= 'fred' DB<3> p $a fred DB<4> x $a 0 'fred' DB<5>

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy

Replies are listed 'Best First'.
Re^2: Convenient way to use 5.10 features in perldebugger?
by LanX (Saint) on Aug 15, 2010 at 17:31 UTC
    say is an example, actually I try to experiment with state.

    But using state as an example is much more complicated, such that people on the CB didn't understand when I said "Thanks but doesn't work"!

    With say it's obvious!

    Cheers Rolf