in reply to Cpan command line no echo

> perl -d test.pl

you are talking about the debugger?

It doesn't execute anything before you don't type any stepping commands like n.

try h for help and plz read the docs.

UPDATE:

lanx@nc10-ubuntu:/tmp$ cat >tst.pl $|=1; for (1..10) { print "$_\n"; } lanx@nc10-ubuntu:/tmp$ perl -d tst.pl Loading DB routines from perl5db.pl version 1.3 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(tst.pl:1): $|=1; DB<100> n main::(tst.pl:2): for (1..10) { DB<100> n main::(tst.pl:3): print "$_\n"; DB<100> n 1 main::(tst.pl:3): print "$_\n"; DB<100> n 2 main::(tst.pl:3): print "$_\n";

EDIT: last paragraph erased.

Cheers Rolf

Replies are listed 'Best First'.
Re^2: Cpan command line no echo
by Anonymous Monk on Jan 08, 2013 at 08:12 UTC
    DB<100> n
    I mean when I input n, there is no n in perldebug command line. There is no echo.

    In my screen, looks like this:
    DB<100>
      Try export TERM=DUMB perl -d ...
        It works!
        Why TERM=xterm or TERM=linux breaking?