Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: webperl: fetching data over the web

by LanX (Saint)
on Nov 08, 2018 at 15:21 UTC ( [id://1225422]=note: print w/replies, xml ) Need Help??


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

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 :-) ).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225422]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-28 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found