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
***2.**[Select your Perl distribution](./doc/REQUIREMENTS.md#runtime-requirements).
52
+
53
+
***2.**[Select your Perl distribution](./doc/REQUIREMENTS.md#runtime-requirements).
54
+
Place your Perl relocatable distribution in:
55
+
``{PEB_executable_directory}/resources/app/perl``
56
+
Your relocatable Perl interpreter must be:
57
+
``{PEB_executable_directory}/resources/perl/bin/perl`` on a Linux or Mac macine or
58
+
``{PEB_executable_directory}/resources/perl/bin/wperl.exe`` on a Windows macine.
59
+
Your relocatable PERL5LIB folder must be:
60
+
``{PEB_executable_directory}/resources/perl/lib``
53
61
54
62
* Serverless Application:
55
63
***3.** Write your Perl application reading user input on STDIN:
@@ -59,14 +67,14 @@ in the documentation of this project are to be interpreted as described in [RFC
59
67
chomp$input;
60
68
```
61
69
62
-
* **4.** Write an appropriate HTML interface with a [settings JavaScript object](./doc/SETTINGS.md#perl-scripts-api) for your Perl application.
63
-
Triggering a Perl script from a local HTML page is configured using [one of the three possible methods](./doc/SETTINGS.md#perl-scripts-api).
70
+
* **4.** Write ``{PEB_executable_directory}/resources/app/index.html`` with a [settings JavaScript object](./doc/SETTINGS.md#perl-scripts-api) for your Perl application.
71
+
Triggering a Perl script from a local HTML page can be configured using [one of the three possible methods](./doc/SETTINGS.md#perl-scripts-api).
64
72
[Selecting files or folders with their full paths](./doc/SETTINGS.md#selecting-files-and-folders) is also possible.
65
73
66
74
* Local Server Application:
67
75
* **3.** Write your Perl server application.
68
76
* **4.** Write [local-server.json](./doc/SETTINGS.md#starting-local-server) for your local Perl server.
69
-
* **5.** Write an appropriate HTML interface andconnect it to your server application by traditional web communication protocols.
77
+
* **5.** Write a start page.
70
78
71
79
## Design Objectives
72
80
@@ -80,7 +88,7 @@ in the documentation of this project are to be interpreted as described in [RFC
80
88
81
89
* PEB can be started from any folder without installation procedure.
82
90
* [Perl script output is seamlessly inserted in any local page.](./doc/SETTINGS.md#perl-scripts-api)
83
-
* [Perl scripts with STDIN event loops can be repeatedly fed with data (Linux andMacintosh builds only).](./doc/SETTINGS.md#interactive-perl-scripts)
91
+
* [Perl scripts with STDIN event loops can be repeatedly fed with data (Linux andMac builds only).](./doc/SETTINGS.md#interactive-perl-scripts)
84
92
* [Perl local servers can be started.](./doc/SETTINGS.md#starting-local-server)
85
93
* [Any version of Perl 5 can be used.](./doc/REQUIREMENTS.md#runtime-requirements)
86
94
* [Single file or multiple files, new filename, existing or new directory can be selected by user.](./doc/SETTINGS.md#selecting-files-and-folders)
0 commit comments