in reply to webperl: fetching data over the web

Just a guess because I can't test at the moment:

The first demo page is redirecting STDERR to a text area, the second isn't.

Probably a warning by JS is blocking then.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re: webperl: fetching data over the web

Replies are listed 'Best First'.
Re^2: webperl: fetching data over the web
by haukex (Archbishop) on Nov 08, 2018 at 15:25 UTC

    The "democode" pages always display STDERR if there is any output there. It also helps to watch the JavaScript console in your browser. I'm not sure what's blocking the page - I unfortunately can't reproduce that on my end with the third example code you showed in the root node.

      The zip file from your webpage didn't include a democode directory.

      That's why I copied and hacked webperl_demo.html.

      (edit: cloning the frame structure of the former didn't work instantly)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Ah, I see - the democode stuff is in the repo, and it'll also be part of the next release. webperl_demo.html uses Perl.makeOutputTextarea(id), which merges STDOUT and STDERR (which I just added to the documentation, thanks :-) ).