Of course, the code you enter is not executed by the browser (as is written on the aforementioned page) the same way the JavaScript code is, but by the remote server (view source).
There's client-side
PerlScript if you want Perl in your browser, and it seems like fun.