Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Perl as interactive Shell?

by LanX (Saint)
on May 12, 2017 at 15:08 UTC ( [id://1190134]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl as interactive Shell?
in thread Perl as interactive Shell?

yes, IIRC zoidberg had a good handling of Term::Readline (I don't like the underlying documentation of Gnu-Readline )

And there was also another attempt ("perlshell" ? "psh"?) where pipe was overloaded.

But I'm asking about technical limitations, because I'm thinking about patching the perldebugger in a REPL/Shell way.

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

update

see also using perldebugger as REPL?

Replies are listed 'Best First'.
Re^3: Perl as interactive Shell?
by RonW (Parson) on May 12, 2017 at 22:51 UTC

    Technically, seems like it should work fine. It would probably be convenient for at least some one-off tasks, or for working out the logic of a script-able procedure. And a lot of what can be done in *sh can be done in Perl with out using external executables. (Not that I see anything intrinsically wrong with using external executables - especially when *sh issues can be avoided by bypassing *sh.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-16 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found