Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

webperl - DOM manipulation and event example

by sectokia (Pilgrim)
on Dec 08, 2022 at 21:58 UTC ( [id://11148673]=perlquestion: print w/replies, xml ) Need Help??

sectokia has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

Does anyone know of, or have any examples of webperl that show how to manipulate the DOM and set call backs to perl subs for browser events?

I tried google around but all the examples I could find were just basic things like scripts that run at a set position of a HTML file and have their output embedded into the file.

Thanks!

  • Comment on webperl - DOM manipulation and event example

Replies are listed 'Best First'.
Re: webperl - DOM manipulation and event example
by haukex (Archbishop) on Dec 08, 2022 at 22:45 UTC

    In my talk on WebPerl at around the 14 minute mark (slide 12 here) I show how with WebPerl you can access the same APIs as in JavaScript. For a much more complex example, the WebPerl Regex Tester is written in (Web)Perl, see the source code here.

      Thanks! I will watch the watch the whole thing. WebPerl looks incredibly underrated!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11148673]
Approved by kcott
Front-paged by marto
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found