Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Have you ever wanted to do this?

<html> <head> <title>Hello, Perl World!</title> <script type="text/perl"> print "Hello, Perl World!\n"; </script> </head> <body></body> </html>

Well, now you can!* :-)

I just released what I'm calling WebPerl - please see the website for all the documentation, downloadable demo, and source code. It's still very much in beta, and your feedback is very welcome!

Update 3: A full talk on WebPerl from YAPC::EU 2019 in Rīga. You can find the full list of links and talks at https://webperl.zero-g.net/notes.html. /Update 3

I gave a lightning talk on it yesterday at YAPC::EU 2018 in Glasgow, you can see the recording of the live stream here (link should go to 8h9m40s). Update: The video seems to have gone down, unfortunately. Will update once something is back up, for now the website contains all the documentation. Update 2: Video is back up, thanks for pointing it out, Corion! New Video Link (link should go to 8h12m)

* Update: What you need to do to make the above example work is download WebPerl, put the files in the same directory as the HTML file, and add <script src="webperl.js"></script> in the above HTML - then you should get the output of the print in your browser's JavaScript console. The website also gives some more "quick start" instructions.

Update 2: I have since posted a few more nodes on WebPerl:


In reply to Run Perl 5 in the Browser! by haukex

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: (8)
As of 2024-04-18 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found