Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

About perl -d -e "1;"

by abdan (Acolyte)
on Oct 23, 2021 at 18:28 UTC ( #11137921=perlquestion: print w/replies, xml ) Need Help??

abdan has asked for the wisdom of the Perl Monks concerning the following question:

I'm noobie using perl -d -e "1;" I installed Term::readline and thought the same as using Bash on terminal the backspace is undo the last key input/pressed, but the perl debug behave undo entire current line i.e. delete the line How to have it the same as doing Bash on terminal, i.e. the backspace is undo the last character input ? Thanks much

Replies are listed 'Best First'.
Re: About perl -d -e "1;"
by LanX (Sage) on Oct 23, 2021 at 18:40 UTC
    Backspace doesn't undo, it deletes one char backwards.

    Your description is weird, you should check if some modifier keys like Shift or Alt are blocked.

    I don't think it's a Perl problem.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      was said, the perl debug behave undo entire current line i.e. delete the line. How to fix it
        as I already said

        > > I don't think it's a Perl problem.

        > How to fix it

        I don't know.

        update

        on a side note, typing perl -de0 or perl -de1 is faster :)

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11137921]
Approved by LanX
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2022-01-28 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (73 votes). Check out past polls.

    Notices?