Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
For a while now I've been playing with safe line based evaluation of perl code over IRC, which via commans containing perl code submitted to an IRC bot, who executes the code and returns the results. This is cool and all, but recently it ocurred to me that I could use much the same code and place it on the internet, perhaps with more usefulness. Around that time integral wrote Devel::EvalContext which allowed one to save the lexical state of an eval. The combination naturally led to a Web Based REPL, which stands for "Read Eval Print Loop".

Read Eval Print Loops are commonly found on the CLI for various programming languages, examples being ruby and python I believe. perl -de1 is more or less an example of a perl REPL.

In any case, I thought I'd show off my new repl by linking it here, check it out at: http://erxz.com:8002.

So far it's stood up to fairly extensive security testing, and should be fully secure, but please let me know if something doesn't look right to you.

Update: Upvotes are all well and good, but I'd much prefer actual replies! Preferably with suggestions, either for the interface or for some actual use for this thing!

In reply to Web based perl REPL by BUU

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found