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
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,8 @@ make
113
113
If you are using the Qt Creator IDE, go to 'Projects' and disable the 'Shadow Build' option to produce the binary in the root folder of the project and test the demo package.
114
114
115
115
## Compile-time Variables
116
-
Changing the compile-time variables of PEB requires editing its project file - ``peb.pro``.
116
+
Changing PEB compile-time variables requires editing the ``src/peb.pro`` project file before compiling the binary.
117
+
117
118
***Macintosh binary type:**``BUNDLE``
118
119
To make a bundle-less binary, which is the default setting:
119
120
@@ -141,8 +142,15 @@ The following compile-time variable can tighten further the security of PEB.
141
142
## Runtime Requirements
142
143
* Qt 5 libraries - their full Linux list can be found inside the ``start-peb.sh`` script,
143
144
* Perl 5 distribution - any Linux, Mac or Windows Perl distribution.
144
-
[Strawberry Perl](http://strawberryperl.com/) PortableZIP editions are successfully used with all Windows builds of PEB.
145
-
[Perlbrew](https://perlbrew.pl/) Perl distributions (5.18.4, 5.23.7) are successfully used with many Linux builds of PEB.
145
+
146
+
Tested successfully using the following Perl distributions:
147
+
Linux x64 [Perlbrew](https://perlbrew.pl/) Perl versions 5.18.4, 5.23.7
148
+
Linux x64 [Relocatable Perl](https://github.com/skaji/relocatable-perl) version 5.24.1
149
+
Windows x32 [Strawberry Perl](http://strawberryperl.com/) PortableZIP versions 5.12.2.0, 5.16.1.1, 5.20.2.1
150
+
151
+
To use a Perlbrew Perl with PEB create a symlink to the wanted Perl interpreter named:
152
+
``{PEB_binary_directory}/perl/bin/perl``
153
+
146
154
PEB can also use any Perl on PATH.
147
155
148
156
## Supported Perl Script Types
@@ -167,7 +175,7 @@ They can not receive any user input once they are started and are divided into t
167
175
168
176
Two or more non-interactive scripts can be started within a single page. They will be executed independently and their output will be updated in real time using different DOM elements or JavaScript functions. This could be convenient for all sorts of long-running monitoring scripts.
169
177
170
-
**Windows caveat:** All data-only scripts should have ``$|=1;`` among their first lines to disable the built-in buffering of the Perl interpreter. Some Windows builds of Perl may not give any output until the script is finished when buffering is enabled.
178
+
**Windows caveat:** All data-only scripts should have ``$|=1;`` among their first lines to disable the built-in buffering of the Perl interpreter. Windows builds of Perl may not give any output until the script is finished when buffering is enabled.
171
179
172
180
<aname="feeding-from-forms"></a>
173
181
There is no special naming convention for non-interactive scripts. They can be called from hyperlinks or HTML forms using a full HTTP URL with the PEB pseudo-domain or a relative path. If a relative path is used, the PEB pseudo-domain will be added automatically. The following code is an example of a POST request to a local Perl script from an HTML form with no use of JavaScript:
0 commit comments