All-
Forgive me if this sounds foolish but I did a Google and didn't fine anything except codepad.org as a solution and the site wasn't even loading.
I switched jobs to a company that doesn't have/allow Perl to be installed. I still want to be able to do this so I thought "Hey, I can set up a text box on my web site and have that code execute directly from it." That way all I do is Copy/Paste code in there and see if it excutes or what it produces.
Good idea? Bad idea? Assuming it's not going to be a public link shared with the world, it'd be a link only I'd have access to.
How would I have the form script run the code and record any errors instead of crashing? I know I could have the form create a Perl file, set permissions and execute it in the browser but I don't want that.
I want the code to execute on the fly BUT not get an ISE. Instead I want to capture errors and report them nicely.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.