Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by karlgoethebier (Abbot)
on Oct 18, 2021 at 18:42 UTC ( [id://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$ re.pl $ 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 (Saint) 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found