Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: OS agnostic C&P CLI snippets with -E

by karlgoethebier (Abbot)
on Oct 18, 2021 at 18:42 UTC ( #11137697=note: print w/replies, xml ) Need Help??

in reply to OS agnostic C&P CLI snippets with -E

Let me guess once more. What you really want is something like an interactive shell, right?

But i fear this doesn't exist. Anyway, you might a look at Devel::REPL by the notorious Matt Trout and currently maintained by Ether.

Successfully installed Devel-REPL-1.003028 68 distributions installed Karls-Mac-mini:~ karl$ $ say q(Something); Compile error: syntax error at (eval 312) line 5, near "say q(Somethin +g)" BEGIN not safe after errors--compilation aborted at (eval 312) line 5, + <FIN> line 1. $ use feature qw(say); $ say q(something); something 1$

N.B.: The dependencies are inferior.

Best regards, KGB

«The Crux of the Biscuit is the Apostrophe»

Replies are listed 'Best First'.
Re^2: OS agnostic C&P CLI snippets with -E
by LanX (Sage) on Oct 19, 2021 at 09:41 UTC

      That's O.K. But from the friendly manual ibidem: «Reply is a lightweight, extensible REPL for Perl.» I’m a bit confused what you really want. Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2022-05-28 22:39 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (101 votes). Check out past polls.