You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,9 +142,9 @@ If PEB is going to be compiled for end users and interaction with the Perl debug
142
142
**interactive scripts**, **noninteractive scripts** and **AJAX scripts**.
143
143
There is no timeout for all Perl scripts executed by PEB.
144
144
***Interactive Perl scripts:**
145
-
Interactive Perl scripts have their own event loop waiting constantly for new data arriving on STDIN and that's why they have bidirectional connection with PEB. There can be only one interactive script per browser window. Interactive scripts must be started with the special query string items ```type=interactive```,```target```, ```close_command``` and ```close_confirmation```.
145
+
Interactive Perl scripts have their own event loop waiting constantly for new data arriving on STDIN and that's why they have bidirectional connection with PEB. There can be only one interactive script per browser window. Interactive scripts must be started with the special pseudo-user ```interactive``` and with the query string items```target```, ```close_command``` and ```close_confirmation```.
146
146
147
-
The query string item ```type=interactive``` is the token used by PEB to distinguish between interactive and all other scripts.
147
+
The pseudo-user ```interactive``` is the token used by PEB to distinguish between interactive and all other scripts.
148
148
149
149
The ```target``` query string item should point to a valid HTML DOM element or to a valid JavaScript function. Every piece of script output is inserted immediately into the target DOM element of the calling page or passed to the specified JavaScript function as its first and only function argument. The calling page must not be reloaded during the script execution or no script output will be inserted.
150
150
@@ -156,12 +156,11 @@ If PEB is going to be compiled for end users and interaction with the Perl debug
0 commit comments