{"id":283069,"date":"2016-12-26T18:40:04","date_gmt":"2016-12-26T15:40:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=283069"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=283069","title":{"rendered":"\u041c\u043e\u0434\u0443\u043b\u044c HTML::Phl \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 HTML-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0441 \u043a\u043e\u0434\u043e\u043c Perl"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2b6\/801\/9d7\/2b68019d79ff4d4d9d89c82086e07f57.jpg\" width=\"721\" height=\"354\"\/><\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0430 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u044f <font color=\"#000099\">HTML::Phl<\/font> \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 HTML-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u043c\u0438 \u043a\u043e\u0434 \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Perl.<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0417\u0430\u0434\u0430\u0447\u0430 \u043c\u043e\u0434\u0443\u043b\u044f <font color=\"#000099\">HTML::Phl<\/font> \u2014 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 HTML, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u044b\u0439 \u0432 \u043d\u0435\u043c \u043e\u0441\u043e\u0431\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c perl-\u043a\u043e\u0434, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u0435-\u043a\u0430\u043a\u0438\u0435 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u043d\u0430\u0434 \u043d\u0438\u043c \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u043a\u043e\u0434 perl \u0438 \u00ab\u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c\u00bb \u0432\u0441\u0451 \u044d\u0442\u043e &#8216;<font color=\"#000099\">eval<\/font>&#8216;, \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u0443\u044e \u0432\u0435\u0431-\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>1   &lt;HTML&gt; 2   &lt;HEAD&gt; 3   &lt;META content=&quot;text\/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt; 4   &lt;TITLE&gt;\u041f\u0440\u0438\u043c\u0435\u0440 PHL&lt;\/TITLE&gt; 5   &lt;\/HEAD&gt; 6    7   \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u0432\u0430 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 f1 \u0438 f2&lt;br&gt; 8 9   %pl  include(&quot;process_win.phl&quot;, &quot;fork decode=cp1251&quot;, &quot;f1&quot;); 10  %pl  include(&quot;process_utf.phl&quot;, &quot;fork decode=utf8&quot;, &quot;f2&quot;); 11 12  \u0416\u0434\u0435\u043c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432&lt;br&gt; 13 14  &lt;%pl my %join = include(&quot;JOIN&quot;, &quot;f1 f2&quot;); %&gt; 15 16  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432&lt;br&gt; 17 18  &lt;%pl 19     foreach my $key(keys(%join)) { 20        if (ref $join{$key}) { 21           print &quot;\u043f\u0440\u043e\u0446\u0435\u0441\u0441 '$key' - \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: &quot;; 22           for (my $i = 0; $i &lt;= $#{$join{$key}}; $i++) { 23              print &quot;'${$join{$key}}[$i]' &quot;; 24           } 25           print &quot;&lt;br&gt;&quot;; 26        } else { 27           print &quot;\u043f\u0440\u043e\u0446\u0435\u0441\u0441 '$key' - \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: '$join{$key}'&lt;br&gt;&quot;; 28        } 29     } 30  %&gt; 31    32  &lt;\/HTML&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0421\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f \u043d\u043e\u0441\u0438\u0442 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440, \u0438 \u0435\u0433\u043e \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<hr\/>\n<p>  <a name=\"sd\"><\/a>  <\/p>\n<h2>\u041e\u0433\u043b\u0430\u0432\u043b\u0435\u043d\u0438\u0435:<\/h2>\n<p>  <a href=\"#s\">\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f PHL<\/a><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u2022 <a href=\"#u\">\u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438<\/a><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u2022 <a href=\"#r\">\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0438<\/a><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u2022 <a href=\"#k\">\u041a\u043b\u044e\u0447\u0438<\/a><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u2022 <a href=\"#f\">\u0424\u0443\u043d\u043a\u0446\u0438\u0438<\/a><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u2022 <a href=\"#m\">\u041c\u043e\u0434\u0443\u043b\u0438-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f<\/a><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u2022 <a href=\"#n\">\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/a><br \/>  <a href=\"#d\">\u0414\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 PHL<\/a><\/p>\n<p>  <a name=\"s\"><\/a>  <\/p>\n<h2>\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f PHL <a href=\"#sd\">&nbsp;^&nbsp;<\/a><\/h2>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412 HTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435 perl-\u043a\u043e\u0434 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439. \u0423 \u043a\u0430\u0436\u0434\u043e\u0439 \u0442\u0430\u043a\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0435\u0441\u0442\u044c \u043d\u0430\u0447\u0430\u043b\u043e \u0438 \u043a\u043e\u043d\u0435\u0446, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434 perl \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 PHL \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0442\u0440\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439:<\/p>\n<p>  1. \u041b\u0438\u043d\u0435\u0439\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f:<br \/>  &nbsp;&nbsp;&nbsp;<font color=\"#000099\">%pl<\/font> <font color=\"#710000\">[keys] [perl code]<\/font><\/p>\n<p>  2. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0432 \u0432\u0438\u0434\u0435 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430:<br \/>  &nbsp;&nbsp;&nbsp;<font color=\"#000099\">&lt;%pl<\/font><font color=\"#710000\">[(:|=)[name]] [keys] [perl code]<\/font> <font color=\"#000099\">%&gt;<\/font><\/p>\n<p>  3. \u041c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u0431\u043b\u043e\u043a:<br \/>  &nbsp;&nbsp;&nbsp;<font color=\"#000099\">&lt;%pl<\/font><font color=\"#710000\">[(:|=)[name]] [keys]<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[perl code]<\/font><br \/>  &nbsp;&nbsp;&nbsp;<font color=\"#000099\">%&gt;<\/font><\/p>\n<p>  \u0433\u0434\u0435<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&#8216;<font color=\"#000099\">%pl<\/font>&#8216;, &#8216;<font color=\"#000099\">&lt;%pl<\/font>&#8216;, &#8216;<font color=\"#000099\">%&gt;<\/font>&#8216; \u2014 <a href=\"#u\">\u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438<\/a> \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 (\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u043d\u0430\u0447\u0430\u043b\u043e \u0438 \u043a\u043e\u043d\u0435\u0446 \u043a\u043e\u0434\u0430 Perl);<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#710000\">[name]<\/font> \u2014 \u0438\u043c\u044f \u0431\u043b\u043e\u043a\u0430 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0431\u043b\u043e\u043a\u043e\u0432, \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0440\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438);<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;&#8216;<font color=\"#710000\">:<\/font>&#8216; \u0438\u043b\u0438 &#8216;<font color=\"#710000\">=<\/font>&#8216; \u2014 <a href=\"#r\">\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0438<\/a> (\u0441 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0438 \u0438\u043c\u0435\u043d\u0435\u043c \u0431\u043b\u043e\u043a\u0430, \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u043e\u0431\u043b\u0430\u0434\u0430\u044e\u0442 \u0440\u044f\u0434\u043e\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439);<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#710000\">[keys]<\/font> \u2014 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 <a href=\"#k\">\u043a\u043b\u044e\u0447\u0438<\/a> (\u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0432\u0438\u0434\u043e\u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043a\u043e\u0434 Perl, \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438, \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0443 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435);<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#710000\">[perl code]<\/font> \u2014 \u043a\u043e\u0434 Perl.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440\u044b<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>  %pl print sqrt(2);    &lt;%pl print $var; %&gt;      &lt;%pl= $var; %&gt;      &lt;%pl       foreach my $key(keys(%ENV)) {          print &quot;$key \u2014 $ENV{$key}&lt;br&gt;&quot;;       }   %&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b <font color=\"#710000\">[name]<\/font> \u0438 <font color=\"#710000\">[keys]<\/font> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043d\u0435 \u0442\u0430\u043a \u0447\u0430\u0441\u0442\u043e, \u0438 \u0441 \u0443\u0441\u043f\u0435\u0445\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0438 \u0431\u0435\u0437 \u043d\u0438\u0445, \u043d\u043e \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u044b\u0432\u0430\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 \u0443\u0434\u043e\u0431\u043d\u044b\u043c.  <\/p>\n<pre><code>  &lt;%pl:f1 -fork      # \u041a\u043e\u0434 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430      my $f = &quot;\u0414\u0430\u043d\u043d\u044b\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 f1&quot;;      sleep 1;      return $f;   %&gt;      &lt;%pl -join=f1      # \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 f1      print $phl_join{f1};   %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c Perl \u0432 PHL \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 <a href=\"#f\">\u0444\u0443\u043d\u043a\u0446\u0438\u044f<\/a> &#8216;<font color=\"#000099\">include()<\/font>&#8216;), \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.  <\/p>\n<pre><code>  %pl include($file_name);         &lt;%pl include(&quot;$file_name&quot;, &quot;socket&quot;); %&gt;    &lt;%pl      my $result = include(&quot;$file_name&quot;, &quot;open decode&quot;);   %&gt; <\/code><\/pre>\n<p>  <a name=\"u\"><\/a>  <\/p>\n<h2>\u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 <a href=\"#sd\">&nbsp;^&nbsp;<\/a><\/h2>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0438\u043c\u0435\u044e\u0442 \u0432\u0438\u0434: &#8216;<font color=\"#000099\">&lt;%pl<\/font>&#8216;, &#8216;<font color=\"#000099\">%&gt;<\/font>&#8216; \u0438 &#8216;<font color=\"#000099\">%pl<\/font>&#8216;.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0444\u0430\u0439\u043b\u0430 &#8216;<font color=\"#000099\">Phl.pm<\/font>&#8216; \u0438\u043b\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 &#8216;<font color=\"#000099\">config.phl<\/font>&#8216;. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a <font color=\"#000099\">&lt;% &#8230;code perl\u2026 %&gt;<\/font> \u0438\u043b\u0438 \u0442\u0430\u043a <font color=\"#000099\">[ &#8230;code perl\u2026 ]<\/font> \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0432o\u0442 \u0442\u0430\u043a <font color=\"#000099\">\u00a6 &#8230;code perl\u2026 \u00a6<\/font>.<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 (\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435) \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439. \u042d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0434\u0443\u043b\u044f &#8216;<font color=\"#000099\">HTML::Phl::Php<\/font>&#8216; \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">&lt;%pl<\/font>&#8216; \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c &#8216;<font color=\"#000099\">&lt;%php<\/font>&#8216;, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043e\u0434 \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f PHP.  <\/p>\n<pre><code> 1  %pl -ev use HTML::Phl::Php;  2    3  &lt;%php  4    echo &quot;PHP &gt;&gt; &lt;b&gt;OK&lt;\/b&gt;&lt;br&gt;&quot;;  5    echo date('H:i:s d.m.Y');  6  %&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">PHP &gt;&gt; <b>OK<\/b><br \/>  14:23:22 26.12.2016  <\/div>\n<\/div>\n<p>  <a name=\"r\"><\/a>  <\/p>\n<h2>\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0438<a href=\"#sd\">&nbsp;^&nbsp;<\/a><\/h2>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0417\u0430\u0434\u0430\u0447\u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u0439 \u2014 \u043e\u0442\u0434\u0435\u043b\u0438\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0431\u043b\u043e\u043a\u0430.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f &#8216;<font color=\"#000099\">:<\/font>&#8216;, \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c &#8216;<font color=\"#000099\">=<\/font>&#8216; \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0446\u0438\u044e \u043a\u043e\u0434\u0430. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f &#8216;<font color=\"#000099\">=<\/font>&#8216; \u0432 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u043c \u0438 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u043c \u0431\u043b\u043e\u043a\u0430\u0445 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f.<\/p>\n<pre><code> 1  %pl  my $test = &quot;&lt;b&gt;\u0442\u0435\u0441\u0442&lt;\/b&gt;&quot;;  2    3  1. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f '&lt;%pl= $test %&gt;' \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430.  4  &lt;br&gt;&lt;br&gt;  5    6  &lt;%pl=name1  7     2. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f '$test' \u0432\u043d\u0443\u0442\u0440\u0438  8     \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 '&lt;b&gt;$phl_blok[1]&lt;\/b&gt;' (\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c '=').  9  %&gt;  10  &lt;br&gt;&lt;br&gt;  11    12  &lt;%pl:name2  13     print &quot;3. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f '$test'&quot;;  14     print &quot;\u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 '&lt;b&gt;$phl_blok[2]&lt;\/b&gt;' (\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c ':').&quot;;  15  %&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u043f\u043e\u0441\u043b\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code> 1  my $test = &quot;&lt;b&gt;\u0442\u0435\u0441\u0442&lt;\/b&gt;&quot;;  2  print &lt;&lt;'[HTML]';  3     4  [HTML]  5  print &lt;&lt;'[HTML]' =~ \/(.*)\/;  6  1. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f '  7  [HTML]  8  print($test);  9  print &lt;&lt;'[HTML]';  10  ' \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430.  11  [HTML]  12  print &lt;&lt;'[HTML]';  13  &lt;br&gt;&lt;br&gt;  14     15  [HTML]  16  print &lt;&lt;&quot;[HTML]&quot;;  17     2. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f &quot;$test&quot; \u0432\u043d\u0443\u0442\u0440\u0438  18     \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 &quot;&lt;b&gt;$phl_blok[1]&lt;\/b&gt;&quot; (\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c &quot;=&quot;).  19  [HTML]  20  print &lt;&lt;'[HTML]';  21  &lt;br&gt;&lt;br&gt;  22     23  [HTML]  24     print &quot;3. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f '$test'&quot;;  25     print &quot;\u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 '&lt;b&gt;$phl_blok[2]&lt;\/b&gt;' (\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c ':').&quot;; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">1. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f &#8216;<b>\u0442\u0435\u0441\u0442<\/b>&#8216; \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430.<\/p>\n<p>  2. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f &#8216;<b>\u0442\u0435\u0441\u0442<\/b>&#8216; \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 &#8216;<b>name1<\/b>&#8216; (\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c &#8216;=&#8217;).<\/p>\n<p>  3. \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f &#8216;<b>\u0442\u0435\u0441\u0442<\/b>&#8216;\u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 &#8216;<b>name2<\/b>&#8216; (\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c &#8216;:&#8217;).  <\/div>\n<\/div>\n<p>  <a name=\"k\"><\/a>  <\/p>\n<h2>\u041a\u043b\u044e\u0447\u0438<a href=\"#sd\">&nbsp;^&nbsp;<\/a><\/h2>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043b\u044e\u0447\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0432\u0438\u0434\u043e\u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043a\u043e\u0434 perl, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u044b\u0439 \u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u0445. \u0418\u0445 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0438\u043b\u0438 \u0432 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435:<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-begin<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-end<\/font> <br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-perl_all<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-eval<\/font> <br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-fork<\/font> <br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-thread<\/font> <br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-join<\/font> <\/p>\n<h3>\u2022 \u041a\u043b\u044e\u0447\u0438 &#8216;<font color=\"#000099\">-begin<\/font>&#8216; [ &#8216;<font color=\"#000099\">-bg<\/font>&#8216; ] \u0438 &#8216;<font color=\"#000099\">-end<\/font>&#8216;<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043a\u043b\u044e\u0447\u0430 &#8216;<font color=\"#000099\">-begin<\/font>&#8216; \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0431\u0435\u0440\u0435\u0442 \u043a\u043e\u0434 perl, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439\u0441\u044f \u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438, \u0438 \u043e\u0431\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u0431\u043b\u043e\u043a\u043e\u043c &#8216;<font color=\"#000099\">BEGIN {}<\/font>&#8216;.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043a\u043b\u044e\u0447\u0430 &#8216;<font color=\"#000099\">-end<\/font>&#8216; \u2014 \u043a\u043e\u0434 perl \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0431\u043b\u043e\u043a &#8216;<font color=\"#000099\">END {}<\/font>&#8216;.<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434:  <\/p>\n<pre><code> 1  1. \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt;  2  &lt;%pl -end  3     print &quot;2. \u041f\u0435\u0440\u0432\u044b\u0439 end&lt;br&gt;&quot;;  4  %&gt;  5  3. \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt;  6    7  &lt;%pl -begin  8     print &quot;4. \u041f\u0435\u0440\u0432\u044b\u0439 begin&lt;br&gt;&quot;;  9  %&gt;  10 5. \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt;  11    12 &lt;%pl -end  13    print &quot;6. \u0412\u0442\u043e\u0440\u043e\u0439 end&lt;br&gt;&quot;;  14 %&gt;  15 7. \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt;  16    17 &lt;%pl -bg  18    print &quot;8. \u0412\u0442\u043e\u0440\u043e\u0439 begin&lt;br&gt;&quot;;  19 %&gt;  20 9. \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">4. \u041f\u0435\u0440\u0432\u044b\u0439 begin<br \/>  8. \u0412\u0442\u043e\u0440\u043e\u0439 begin<br \/>  1. \u0422\u0435\u043a\u0441\u0442 HTML<br \/>  3. \u0422\u0435\u043a\u0441\u0442 HTML<br \/>  5. \u0422\u0435\u043a\u0441\u0442 HTML<br \/>  7. \u0422\u0435\u043a\u0441\u0442 HTML<br \/>  9. \u0422\u0435\u043a\u0441\u0442 HTML<br \/>  6. \u0412\u0442\u043e\u0440\u043e\u0439 end<br \/>  2. \u041f\u0435\u0440\u0432\u044b\u0439 end  <\/div>\n<\/div>\n<h3>\u2022 \u041a\u043b\u044e\u0447 &#8216;<font color=\"#000099\">-perl_all<\/font>&#8216; [ &#8216;<font color=\"#000099\">-pl<\/font>&#8216; ]<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u043e\u0442\u043f\u0430\u0434\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u043a\u043e\u0434 perl \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u043c\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439. \u0410\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0442\u0435\u043a\u0441\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430, \u043a\u0430\u043a Perl-\u043a\u043e\u0434.<\/p>\n<pre><code> 1  %pl -pl  2    3  use CGI;  4    5  print &quot;Content-type: text\/html; charset=utf-8\\n\\n&quot;;  6    7  my $test = &quot;\u0422\u0435\u043a\u0441\u0442&quot;;  8  my $q = new CGI;  9    10  print $q -&gt; h4(&quot;$test \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f CGI&quot;);  11  print (&quot;&lt;H4&gt;$test \u0438\u0437 Phl&lt;\/H4&gt;&quot;); <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<h4>\u0422\u0435\u043a\u0441\u0442 \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f CGI<\/h4>\n<p>  <\/p>\n<h4>\u0422\u0435\u043a\u0441\u0442 \u0438\u0437 Phl<\/h4>\n<p>  <\/div>\n<\/div>\n<h3>\u2022 \u041a\u043b\u044e\u0447 &#8216;<font color=\"#000099\">-eval<\/font>&#8216; [ &#8216;<font color=\"#000099\">-ev<\/font>&#8216; ]<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043b\u044e\u0447 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u0434, \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438, \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 (\u043f\u0435\u0440\u0435\u0434 \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c <font color=\"#000099\">eval<\/font>).<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 &#8216;<font color=\"#000099\">&#038;lt%pl<\/font>&#8216; \u0438 \u0434\u0440., \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0432 \u0432 \u043a\u043e\u0434\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e:  <\/p>\n<pre><code> 1  &lt;%pl -eval  2    $phl{lt} = '[';  3    $phl{rt} = ']';  4    $phl{ln} = '~';  5    $phl{sh} = '';  6  %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u043b\u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0434\u0440\u0443\u0433\u043e\u0439 \u0432\u0438\u0434. \u0422\u0435\u043f\u0435\u0440\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u043c \u0432\u043e\u0442 \u043e\u0431\u0440\u0430\u0437\u043e\u043c:  <\/p>\n<pre><code> 1  [=  2    \u041c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u0431\u043b\u043e\u043a  3  ] <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0438\u043b\u0438 \u0442\u0430\u043a\u0438\u043c  <\/p>\n<pre><code> 1  [ print &quot;\u041e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0439 \u0431\u043b\u043e\u043a&quot; ] <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0438\u043b\u0438 \u0442\u0430\u043a\u0438\u043c  <\/p>\n<pre><code> 1  ~ print &quot;\u041b\u0438\u043d\u0435\u0439\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f&quot; <\/code><\/pre>\n<h3>\u2022 \u041a\u043b\u044e\u0447 &#8216;<font color=\"#000099\">-fork<\/font>&#8216; [ &#8216;<font color=\"#000099\">-fk<\/font>&#8216; ]<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043e\u0434, \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u043c \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 <font color=\"#000099\">fork()<\/font>.  <\/p>\n<pre><code> 1  &lt;%pl:f1 -fork  2    # \u041a\u043e\u0434 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c f1  3    my $f;  4    sleep 1; # \u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c f1  5    return $f;  6  %&gt; <\/code><\/pre>\n<h3>\u2022 \u041a\u043b\u044e\u0447 &#8216;<font color=\"#000099\">-thread<\/font>&#8216; [ &#8216;<font color=\"#000099\">-td<\/font>&#8216; ]<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043e\u0434, \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u0435 (\u00ab\u043d\u0438\u0442\u0438\u00bb, \u00ab\u0432\u0435\u0442\u043a\u0435\u00bb \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430), \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043c\u043e\u0434\u0443\u043b\u0435\u043c &#8216;<font color=\"#000099\">threads<\/font>&#8216; \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.  <\/p>\n<pre><code> 1  &lt;%pl:t1 -thread  2    # \u041a\u043e\u0434 \u043d\u0438\u0442\u0438 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c t1  3    my $t;  4    sleep 1; # \u041f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u0430\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0438\u0442\u044c\u044e t1  5    return $t;  6  %&gt; <\/code><\/pre>\n<h3>\u2022 \u041a\u043b\u044e\u0447 &#8216;<font color=\"#000099\">-join<\/font>&#8216; [ &#8216;<font color=\"#000099\">-jn<\/font>&#8216; ]<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043b\u044e\u0447 \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0438 \u043d\u0438\u0442\u0435\u0439.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0432 \u0445\u044d\u0448\u0435 <font color=\"#000099\">%phl_join<\/font>, \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432\/\u043f\u043e\u0442\u043e\u043a\u043e\u0432. \u0415\u0441\u043b\u0438 \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u0437\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u0435\u0449\u0451 \u043d\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b\u0438\u0441\u044c, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0436\u0434\u0435\u0442 \u0438\u0445 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f.  <\/p>\n<pre><code> 1  &lt;%pl -join  2    # \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0438 \u043f\u043e\u0442\u043e\u043a\u043e\u0432  3    foreach my $key(keys(%phl_join)) {  4        if (ref $phl_join{$key}) {  # \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 - \u0441\u0441\u044b\u043b\u043a\u0430  5          my @result = @{$phl_join{$key}};  6          print &quot;\u043f\u0440\u043e\u0446\u0435\u0441\u0441 '$key' - \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 '$result[0]'&quot;;  7        } else {  8          print &quot;\u043f\u0440\u043e\u0446\u0435\u0441\u0441 '$key' - \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 '$phl_join{$key}'&quot;;  9        }  10    }  11  %&gt; <\/code><\/pre>\n<h3>\u2022 \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 (\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435) \u043a\u043b\u044e\u0447\u0438 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435. \u042d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0422\u0430\u043a, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0434\u0443\u043b\u044f &#8216;<font color=\"#000099\">HTML::Phl::Utilit<\/font>&#8216; \u0438 \u043a\u043b\u044e\u0447\u0430 &#8216;<font color=\"#000099\">-import<\/font>&#8216; [ &#8216;<font color=\"#000099\">-im<\/font>&#8216; ] \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043b\u044e\u0447\u0435\u0439 \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435.<\/p>\n<pre><code> 1  %pl -ev use HTML::Phl::Utilit;  2    3  %pl -import <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\"><b>1. <u>HTML::Phl::Php<\/u><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>param:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">php<\/font><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>sh:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">php<\/font><\/b><br \/>  <b>2. <u>HTML::Phl::Psimple<\/u><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>param:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">Simple<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">sl<\/font><\/b><br \/>  <b>3. <u>HTML::Phl::Result<\/u><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>param:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">result<\/font><\/b><br \/>  <b>4. <u>HTML::Phl::Ru<\/u><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>sh:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">\u0440\u0443\u0441<\/font><\/b><br \/>  <b>5. <u>HTML::Phl::Utilit<\/u><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>eval:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">analys<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">as<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">listing<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">lt<\/font><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>include:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">CONFIG<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">TIMER<\/font><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>key:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">analys<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">as<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">cf<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">config<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">im<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">import<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">listing<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">lt<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">no_timer<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">nt<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">timer<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">tm<\/font><\/b><br \/>  &nbsp; &nbsp; \u2022 <b>param:<\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">listing<\/font><\/b><br \/>  &nbsp; &nbsp; &nbsp; &nbsp; \u2014 <b><font color=\"grey\">lt<\/font><\/b>  <\/div>\n<\/div>\n<p>  <a name=\"f\"><\/a>  <\/p>\n<h2>\u0424\u0443\u043d\u043a\u0446\u0438\u0438<a href=\"#sd\">&nbsp;^&nbsp;<\/a><\/h2>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412 PHL \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f &#8216;<font color=\"#000099\">include()<\/font>&#8216;, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 HTML (TXT) \u0438\u043b\u0438 PHL \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0424\u0443\u043d\u043a\u0446\u0438\u044f &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u043f\u043e\u0445\u043e\u0436\u0430 \u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e Perl \u0444\u0443\u043d\u043a\u0446\u0438\u044e &#8216;<font color=\"#000099\">open()<\/font>&#8216;, \u0441 \u0442\u0435\u043c \u043e\u0442\u043b\u0438\u0447\u0438\u0435\u043c, \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u043c\u044f \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0444\u0430\u0439\u043b\u0430, \u0430 \u0432\u0442\u043e\u0440\u044b\u043c \u2014 \u043e\u0434\u0438\u043d \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432.  <\/p>\n<pre><code> 1  %pl include($file_name);  2       3  &lt;%pl include(&quot;$file_name&quot;, &quot;socket&quot;); %&gt;  4    5  &lt;%pl  6     my $result = include($file_name, &quot;open decode&quot;);  7  %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">include(&quot;<font color=\"#710000\">file_name<\/font>&quot; [, &quot;<font color=\"#710000\">param<\/font>&quot; [, &quot;<font color=\"#710000\">name_process<\/font>&quot;]])<\/font>;<\/p>\n<p>  <font color=\"#710000\">file_name<\/font>: <br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u00abfile_name.phl\u00bb<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u00abfile_name.cgi\u00bb<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u00abfile_path\/file_name.phl\u00bb<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&quot;\/file_path\/file_name.html&quot;<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u00abhtt\u0440:\/\/domain\/file_path\/file_name.html\u00bb<\/p>\n<p>  <font color=\"#710000\">[param]<\/font>:<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">phl<\/font>, &nbsp; <font color=\"#000099\">exist<\/font>, &nbsp; <font color=\"#000099\">head<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">abs<\/font>, &nbsp; <font color=\"#000099\">no_abs<\/font>, &nbsp; <font color=\"#000099\">no_eval<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">no_strict<\/font>, &nbsp; <font color=\"#000099\">open<\/font>, &nbsp; <font color=\"#000099\">decode<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">no_decode<\/font>, &nbsp; <font color=\"#000099\">cgi<\/font>, &nbsp; <font color=\"#000099\">socket<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">fork<\/font>, &nbsp; <font color=\"#000099\">thread<\/font><\/p>\n<p>  \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438:<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">phl [.phl]<\/font> &lt;= <font color=\"#000099\">exist, head, abs, decode<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">cgi [.cgi]<\/font> &lt;= <font color=\"#000099\">require, decode<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">open<\/font> &lt;= <font color=\"#000099\">decode, abs<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">socket<\/font> &lt;= <font color=\"#000099\">exist, head, no_abs, decode, no_decode<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">fork<\/font> &lt;= <font color=\"#000099\">waitpid, no_waitpid<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">thread<\/font> &lt;= <font color=\"#000099\">join, detach<\/font><\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 &#8216;<font color=\"#710000\">file_name<\/font>&#8216; \u043a\u0440\u043e\u043c\u0435 \u0438\u043c\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u0430 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 &quot;<font color=\"#000099\">JOIN<\/font>&quot;, &quot;<font color=\"#000099\">CONFIG<\/font>&quot; \u0438\u043b\u0438 &quot;<font color=\"#000099\">TIMER<\/font>&quot;.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b &#8216;<font color=\"#710000\">file_name<\/font>&#8216; \u0438\u043c\u0435\u0435\u0442 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 &#8216;<font color=\"#000099\">.phl<\/font>&#8216;, \u0442\u043e \u0442\u0430\u043a\u043e\u0439 \u0444\u0430\u0439\u043b \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442\u0441\u044f, \u043a\u0430\u043a \u0444\u0430\u0439\u043b \u0444\u043e\u0440\u043c\u0430\u0442\u0430 PHL. \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043e \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <font color=\"#000099\">$phl{pl}<\/font>.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u0432 \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 Perl \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u0435\u043b\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <font color=\"#000099\">print()<\/font>. \u041f\u0440\u0438 \u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u043c \u0438\u043b\u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u0432\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0438\u043b\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.  <\/p>\n<pre><code> 1 &lt;%pl  2    include(&quot;file_name.phl&quot;);  3    my $result = include(&quot;file_name.phl&quot;);  4    my @result = include(&quot;file_name.phl&quot;);  5 %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412\u0442\u043e\u0440\u043e\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432.<\/p>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">phl<\/font>&#8216;<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443, \u0447\u0442\u043e \u043a\u043e\u0434, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439\u0441\u044f \u0432 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u043c \u0444\u0430\u0439\u043b\u0435, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 PHL.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u0430\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440, \u0433\u0434\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442\u0441\u044f \u0432 perl-\u043a\u043e\u0434 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f &#8216;<font color=\"#000099\">eval<\/font>&#8216;.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">phl<\/font>&#8216; \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0435\u0441\u043b\u0438 \u0431\u044b \u043c\u044b \u0432 \u0438\u043c\u0435\u043d\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 &#8216;<font color=\"#000099\">.phl<\/font>&#8216; (\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0432 &#8216;<font color=\"#000099\">$phl{pl}<\/font>&#8216;).  <\/p>\n<pre><code> 1 &lt;%pl  2    include(&quot;file_name.txt&quot;, &quot;phl&quot;);  3    my $result = include(&quot;file_name.html&quot;, &quot;phl decode=utf-8&quot;);  4    my @result = include(&quot;file_name&quot;, &quot;phl abs&quot;);  5 %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">exist<\/font>&#8216; (&#8216;<font color=\"#000099\">ex<\/font>&#8216;)<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430.  <\/p>\n<pre><code> 1 &lt;%pl  2    my $exist_file = include(&quot;$file_name&quot;, &quot;exist&quot;);  3    if ($exist_file) {  4        print &quot;\u0424\u0430\u0439\u043b $file_name \u043d\u0430\u0439\u0434\u0435\u043d&quot;;  5    } else {  6        print &quot;\u0424\u0430\u0439\u043b $file_name \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d&quot;;  7    }  8 %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">head<\/font>&#8216; (&#8216;<font color=\"#000099\">hd<\/font>&#8216;)<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437 5 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432: Content type, Document length, Modified time, Expires, Server.  <\/p>\n<pre><code> 1 &lt;%pl  2    my @head = include(&quot;$file_name&quot;, &quot;head&quot;);  3 %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">abs<\/font>&#8216;<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">abs<\/font>&#8216;, \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0441\u044b\u043b\u043e\u043a, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b\u0435, \u0432 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0435.  <\/p>\n<pre><code> %pl include(&quot;$file_name&quot;, &quot;abs&quot;); <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">no_eval<\/font>&#8216; (&#8216;<font color=\"#000099\">ne<\/font>&#8216;)<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f.  <\/p>\n<pre><code> &lt;%pl include(&quot;$file_name&quot;, &quot;no_eval&quot;) %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">no_strict<\/font>&#8216; (&#8216;<font color=\"#000099\">ns<\/font>&#8216;)<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0415\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">no_strict<\/font>&#8216;, \u0442\u043e \u043d\u0430 \u043a\u043e\u0434 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 &#8216;<font color=\"#710000\">$file_name<\/font>&#8216; \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u0430\u0433\u043c\u044b &#8216;<font color=\"#000099\">use strict<\/font>&#8216; \u043d\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f.  <\/p>\n<pre><code> 1 &lt;%pl  2    include(&quot;$file_name&quot;, &quot;ns&quot;);  3 %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">open<\/font>&#8216; ( &#8216;<font color=\"#000099\">on<\/font>&#8216; )<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u0430\u043a \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f &#8216;<font color=\"#000099\">open()<\/font>&#8216;, \u0441\u043b\u0443\u0436\u0438\u0442 \u0434\u043b\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u043d\u0435\u0433\u043e \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0434\u0430\u043d\u043d\u044b\u0445 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442).  <\/p>\n<pre><code> 1 &lt;%pl  2    include(&quot;$file_name&quot;, &quot;open&quot;);  3    my $result = include(&quot;$file_name&quot;, &quot;open decode=koi8-r&quot;);  4    my @result = include(&quot;$file_name&quot;, &quot;on, decode=cp1251, abs&quot;);  5 %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">decode<\/font>&#8216; (&#8216;<font color=\"#000099\">dc<\/font>&#8216;)<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 &#8216;<font color=\"#000099\">decode<\/font>&#8216; \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438 (\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, &#8216;<font color=\"#000099\">decode=cp1251<\/font>&#8216;) \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 Perl.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0415\u0441\u043b\u0438 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u0438\u043b\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">decode<\/font>&#8216;, \u0442\u043e \u043f\u0440\u0438 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 <font color=\"#000099\">$phl{encoding_in}<\/font>, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 <font color=\"#000099\">phl.pm<\/font> (\u0438\u043b\u0438 <font color=\"#000099\">config.phl<\/font>).<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0415\u0441\u043b\u0438 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u043e\u0442\u043b\u0438\u0447\u043d\u0430 \u043e\u0442 &#8216;<font color=\"#000099\">utf-8<\/font>&#8216;, \u0442\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 <font color=\"#000099\">$phl{encoding_out}<\/font>, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 <font color=\"#000099\">phl.pm<\/font> (\u0438\u043b\u0438 <font color=\"#000099\">config.phl<\/font>).<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f &#8216;<font color=\"#000099\">Encode.pm<\/font>&#8216;.<\/p>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">cgi<\/font>&#8216;<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f cgi-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 Perl.  <\/p>\n<pre><code> 1 &lt;%pl  2    include(&quot;file_name.cgi&quot;);  3    include(&quot;$file_name&quot;, &quot;cgi&quot;);  4    include(&quot;$file_name&quot;, &quot;cgi require&quot;);   5    include(&quot;file_name.cgi&quot;, &quot;decode=cp866&quot;);  6 %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">socket<\/font>&#8216; (&#8216;<font color=\"#000099\">sk<\/font>&#8216;)<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 web-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f &#8216;<font color=\"#000099\">IO::Socket::INET<\/font>&#8216;  <\/p>\n<pre><code> 1 &lt;%pl  2    include(&quot;file_name.html&quot;, &quot;socket&quot;);  3    include(&quot;http:\/\/domain\/&quot;);  4    my $text = include(&quot;http:\/\/domain\/file_path\/file_name.html&quot;, &quot;decode=cp1251&quot;);  5    my @result = include(&quot;$file_name&quot;, &quot;decode no_abs&quot;);  6 %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0415\u0441\u043b\u0438 \u0430\u0434\u0440\u0435\u0441 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0444\u0430\u0439\u043b\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 http \u0438\u043b\u0438 ftp, \u0442\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">socket<\/font>&#8216; \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c &#8216;<font color=\"#000099\">socket<\/font>&#8216; \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b &#8216;<font color=\"#000099\">exist<\/font>&#8216;, &#8216;<font color=\"#000099\">head<\/font>&#8216;, &#8216;<font color=\"#000099\">no_abs<\/font>&#8216;, &#8216;<font color=\"#000099\">decode<\/font>&#8216;, &#8216;<font color=\"#000099\">no_decode<\/font>&#8216;.<\/p>\n<ul>\n<li><u>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/u> &#8216;<font color=\"#000099\">exist<\/font>&#8216; (&#8216;<font color=\"#000099\">ex<\/font>&#8216;)<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043c\u0435\u043d\u0430, \u0444\u0430\u0439\u043b\u0430, \u0430\u0434\u0440\u0435\u0441\u0430.  <\/p>\n<pre><code> 1  &lt;%pl  2     my @include_name_file = (  3        'dir1\/name_file.html',  4        '\/dir2\/name_file.php',  5        'http:\/\/www.yandex.ru',  6        'http:\/\/www.yandex\/eklmnfjoeqxngsitwf.html',  7        'http:\/\/eklmnfjoeqxngsitwfhoevd.ru'  8     );  9     10    foreach my $name_file (@include_name_file) {  11       my $ex = include(&quot;$name_file&quot;, &quot;socket exist&quot;);  12       if ($ex) {  13          print &quot;\u0424\u0430\u0439\u043b '$name_file' \u043d\u0430\u0439\u0434\u0435\u043d&lt;br&gt;&quot;;  14       } elsif (!defined $ex) {  15          print &quot;\u0420\u0435\u0441\u0443\u0440\u0441 '$name_file' \u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442&lt;br&gt;&quot;;     16       } else {  17          print &quot;\u0424\u0430\u0439\u043b '$name_file' \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d&lt;br&gt;&quot;;  18       }  19    }  20 %&gt; <\/code><\/pre>\n<ul>\n<li><u>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/u> &#8216;<font color=\"#000099\">head<\/font>&#8216; (&#8216;<font color=\"#000099\">hd<\/font>&#8216;)<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430  <\/p>\n<pre><code> 1  &lt;%pl  2     foreach my $name_file (@test_name_file) {  3        my head = include(&quot;$name_file&quot;, &quot;socket head&quot;);  4        if ($#head) {  5           print &quot;\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043e\u0442 '$name_file' \u043f\u043e\u043b\u0443\u0447\u0435\u043d =&gt; '@head[0..3]'&lt;br&gt;&quot;;  6        } else {  7           print &quot;\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 \u043e\u0442 '$name_file' \u043d\u0435\u0442 =&gt; '@head'&lt;br&gt;&quot;;  8        }  9     }  10 %&gt; <\/code><\/pre>\n<ul>\n<li><u>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/u> &#8216;<font color=\"#000099\">no_abs<\/font>&#8216; (&#8216;<font color=\"#000099\">na<\/font>&#8216;)<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0432\u0441\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0435, \u043d\u043e \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">no_abs<\/font>&#8216;, \u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442.  <\/p>\n<pre><code>  %pl include(&quot;$file_name&quot;, &quot;socket no_abs&quot;); <\/code><\/pre>\n<ul>\n<li><u>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/u> &#8216;<font color=\"#000099\">decode<\/font>&#8216; (&#8216;<font color=\"#000099\">dc<\/font>&#8216;)<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0421\u043b\u0443\u0436\u0438\u0442 \u0434\u043b\u044f \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c &#8216;<font color=\"#000099\">decode<\/font>&#8216;, \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 Perl \u0438 \u0434\u0430\u043b\u0435\u0435 \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0432 <font color=\"#000099\">$phl{encoding_out}<\/font>.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">decode<\/font>&#8216; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430, \u0442\u043e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 \u0444\u0430\u0439\u043b\u0430 \u0432 &#8216;<font color=\"#710000\">charset<\/font>&#8216; (\u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438).<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">decode<\/font>&#8216; \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043d\u0430\u0448 \u0444\u0430\u0439\u043b \u0432 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 utf-8.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 &#8216;<font color=\"#000099\">no_decode<\/font>&#8216; (&#8216;<font color=\"#000099\">nd<\/font>&#8216;) \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442.  <\/p>\n<pre><code> 1  &lt;%pl  2     include(&quot;http:\/\/www.rbc.ru&quot;, &quot;decode=utf-8&quot;);  3     include(&quot;http:\/\/www.mail.ru&quot;, &quot;decode&quot;);  4     my $html_text1 = include(&quot;http:\/\/ru.motorsport.com&quot;);  5     my $html_text2 = include(&quot;http:\/\/www.google.com&quot;, &quot;nd&quot;);  6  %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">fork<\/font>&#8216; (&#8216;<font color=\"#000099\">fk<\/font>&#8216;)<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043e\u0434 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u043c \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 &#8216;<font color=\"#000099\">fork()<\/font>&#8216;.  <\/p>\n<pre><code> 1  &lt;%pl  2     include(&quot;$file_name&quot;, &quot;fork&quot;);  3  %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f &#8216;<font color=\"#000099\">return<\/font>&#8216; \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430.  <\/p>\n<pre><code> 1  &lt;%pl  2     &lt;font color=#646464&gt;&lt;I&gt;# \u041a\u043e\u0434 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 $phl_var{name}&lt;\/I&gt;&lt;\/font&gt;  3     my $f = &quot;\u041f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435&quot;;  4     sleep 1;  5     return $f;  6  %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0442\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u0437\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u00ab\u043f\u043e \u0438\u043c\u0435\u043d\u0438\u00bb.  <\/p>\n<pre><code> 1  &lt;%pl  2     include(&quot;$file_name&quot;, &quot;fork&quot;, &quot;f1&quot;);  3  %&gt; <\/code><\/pre>\n<ul>\n<li><u>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/u> &#8216;<font color=\"#000099\">waitpid<\/font>&#8216; (&#8216;<font color=\"#000099\">wd<\/font>&#8216;)<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0432 \u0442\u043e\u0447\u043a\u0443 \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216;, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0443 &#8216;<font color=\"#000099\">fork<\/font>&#8216; \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">waitpid<\/font>&#8216; \u0438\u043b\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u0443\u043a\u0430\u0437\u0430\u0442\u044c &#8216;<font color=\"#000099\">waitpid<\/font>&#8216;.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0432\u044b\u0437\u0432\u0430\u0432 &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u0432 \u0441\u043a\u0430\u043b\u044f\u0440\u043d\u043e\u043c \u0438\u043b\u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u0432\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435.  <\/p>\n<pre><code> 1  &lt;%pl  2     $result = include(&quot;$file_name&quot;, &quot;fork waitpid&quot;);  3     @result = include(&quot;$file_name&quot;, &quot;fork&quot;, &quot;waitpid&quot;);  4  %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 &#8216;<font color=\"#000099\">waitpid<\/font>&#8216;, \u043a\u0430\u043a \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u0442\u0430\u043a \u0438 \u0432 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0435. \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0436\u0434\u0430\u0442\u044c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u0435\u0435 \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u043e\u0439.  <\/p>\n<pre><code> 1  &lt;%pl  2     @result = include(&quot;$file_name&quot;, &quot;fork&quot;, &quot;&quot;);  3     $result = include(&quot;$file_name&quot;, &quot;fk&quot;);  4  %&gt; <\/code><\/pre>\n<ul>\n<li><u>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/u> &#8216;<font color=\"#000099\">no_waitpid<\/font>&#8216; (&#8216;<font color=\"#000099\">nw<\/font>&#8216;)<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e, \u043d\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u0444\u0430\u0439\u043b \u0438\u043b\u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d.  <\/p>\n<pre><code> 1  &lt;%pl  2     include(&quot;$file_name&quot;, &quot;fork no_waitpid&quot;);  3     include(&quot;$file_name&quot;, &quot;fork&quot;, &quot;no_waitpid&quot;);  4  %&gt; <\/code><\/pre>\n<ul>\n<li><u>\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442<\/u> &#8216;<font color=\"#000099\">JOIN<\/font>&#8216;<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u043b\u044f \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0437\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e &#8216;<font color=\"#000099\">include()<\/font>&#8216;, \u0433\u0434\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0437\u0430\u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e &#8216;<font color=\"#000099\">JOIN<\/font>&#8216;, \u0432\u0442\u043e\u0440\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u2014 \u0438\u043c\u044f \u0438\u043b\u0438 \u0438\u043c\u0435\u043d\u0430 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432.  <\/p>\n<pre><code> 1  &lt;%pl  2     include(&quot;$file_name&quot;, &quot;fork&quot;, &quot;f1&quot;);  3      4     # \u0414\u0430\u043b\u0435\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043b\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043a\u043e\u0434\u043e\u043c  5    6     my $rezult = include(&quot;JOIN&quot;, &quot;f1&quot;);  7  %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412\u0435\u0440\u043d\u0443\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0432\u0441\u0435\u0445 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0432\u0448\u0438\u0441\u044c \u043a \u0445\u044d\u0448\u0443, \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0443\u0442 \u0438\u043c\u0435\u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u2014 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.  <\/p>\n<pre><code> 1  &lt;%pl  2     my %join_2_3 = include(&quot;JOIN&quot;, &quot;f2 f3&quot;);   3     print &quot;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 'f2' = $join_2_3{f2}&lt;br&gt;&quot;;  4    5     my %join_all = include(&quot;JOIN&quot;);  6     foreach my $key(keys(%join_all)) {  7        if (ref $join_all{$key}) {  8           my @result = @{$join_all{$key}};  9           print &quot;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 '$key' = '$join_all{$key}' =&gt; &quot;;  10          print &quot;\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437\u044b\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 = '$result[0]'&lt;br&gt;&quot;;  11       } else {  12          print &quot;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 '$key' = '$join_all{$key}'&lt;br&gt;&quot;;  13       }  14    }  15 %&gt; <\/code><\/pre>\n<h3>\u2022 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">thread<\/font>&#8216; (&#8216;<font color=\"#000099\">td<\/font>&#8216;)<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0421\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f, \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u0430\u044f, \u00ab\u043d\u0438\u0442\u044c\u00bb (\u00ab\u043f\u043e\u0442\u043e\u043a\u00bb) \u2014 \u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u0430\u044f \u0432\u0435\u0442\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043a\u043e\u0434\u0443 \u043f\u043e\u0440\u043e\u0434\u0438\u0432\u0448\u0435\u0433\u043e \u043d\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u0438\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c &#8216;<font color=\"#000099\">thread<\/font>&#8216; (\u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, Perl \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0442\u0440\u0435\u0434\u0430\u043c\u0438).  <\/p>\n<pre><code> 1  &lt;%pl  2     include(&quot;$file_name&quot;, &quot;thread&quot;);  3  %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u0430\u043a \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c &#8216;<font color=\"#000099\">fork<\/font>&#8216;, \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0438\u0442\u0435\u0439 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u043d\u0438\u0442\u0438, \u043a\u0430\u043a \u0432 \u0442\u043e\u0447\u043a\u0443 \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216;, \u0442\u0430\u043a \u0438 \u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u00ab\u0437\u0430\u0431\u044b\u0442\u044c\u00bb \u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f.<\/p>\n<ul>\n<li><u>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/u> &#8216;<font color=\"#000099\">join<\/font>&#8216; (&#8216;<font color=\"#000099\">jn<\/font>&#8216;)<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0438\u0442\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u0447\u043a\u0443 \u0432\u044b\u0437\u043e\u0432\u0430, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0432\u043e\u0451 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0438 \u0436\u0434\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 (\u043e\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u043e\u0432).  <\/p>\n<pre><code> 1  &lt;%pl  2     $result = include(&quot;$file_name&quot;, &quot;thread join&quot;);  3     @result = include(&quot;$file_name&quot;, &quot;thread&quot;, &quot;join&quot;);  4     %result = include(&quot;$file_name&quot;, &quot;thread&quot;);  5  %&gt; <\/code><\/pre>\n<ul>\n<li><u>\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440<\/u> &#8216;<font color=\"#000099\">detach<\/font>&#8216; (&#8216;<font color=\"#000099\">dh<\/font>&#8216;)<\/li>\n<\/ul>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041d\u0438\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f, \u043d\u043e \u0447\u0442\u043e \u0432 \u043d\u0435\u0439 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0432\u0435\u0442\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043d\u0435 \u0437\u043d\u0430\u0435\u0442.  <\/p>\n<pre><code> 1  &lt;%pl  2     include(&quot;$file_name&quot;, &quot;thread detach&quot;);  3     include(&quot;$file_name&quot;, &quot;thread&quot;, &quot;detach&quot;);  4  %&gt; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412\u0435\u0440\u043d\u0443\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043b\u044e\u0431\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0432\u0435\u0442\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043c\u043e\u0436\u043d\u043e, \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0432 \u043d\u0438\u0442\u0438 \u0438\u043c\u044f (\u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c &#8216;<font color=\"#000099\">fork<\/font>&#8216;).  <\/p>\n<pre><code> 1  &lt;%pl  2     include(&quot;$file_name&quot;, &quot;thread&quot;, &quot;t1&quot;);  3     include(&quot;$file_name&quot;, &quot;thread&quot;, &quot;t2&quot;);  4     include(&quot;$file_name&quot;, &quot;thread&quot;, &quot;t3&quot;);  5      6     my $rezult = include(&quot;JOIN&quot;, &quot;t2&quot;);  7     print &quot;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0438\u0442\u0438 't2' = '$rezult'&lt;br&gt;&quot;;  8    9     my %join = include(&quot;JOIN&quot;, &quot;t1 t3&quot;);   10    print &quot;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0438\u0442\u0438 't1' = '$join{t1}'&lt;br&gt;&quot;;  11    print &quot;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0438\u0442\u0438 't3' = '$join{t3}'&lt;br&gt;&quot;;  12 %&gt; <\/code><\/pre>\n<h3>\u2022 \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 (\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435) \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435. \u042d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0422\u0430\u043a, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0434\u0443\u043b\u044f &#8216;<font color=\"#000099\">HTML::Phl::Utilit<\/font>&#8216; \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 &#8216;<font color=\"#000099\">analys<\/font>&#8216; (&#8216;<font color=\"#000099\">as<\/font>&#8216;) \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c \u043a\u043e\u0434 perl \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043f\u0435\u0440\u0435\u0434 \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c <font color=\"#000099\">eval<\/font>.<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<b>\u043f\u0440\u0438\u043c\u0435\u0440:<\/b>  <\/p>\n<pre><code> 1  %pl -ev use HTML::Phl::Utilit;  2    3  &lt;%pl  4     include(&quot;$file_name&quot;, &quot;as&quot;);  5  %&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041b\u0438\u0441\u0442\u0438\u043d\u0433<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code> 1  \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt;  2    3  &lt;%pl  4     my $test = &quot;\u0422\u0435\u043a\u0441\u0442 Perl&lt;br&gt;&quot;;  5     print (&quot;$test&quot;);  6  %&gt;  7    8  \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code> 1  print &lt;&lt;'[HTML]';  2  \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt;  3     4  [HTML]  5     my $test = &quot;\u0422\u0435\u043a\u0441\u0442 Perl&lt;br&gt;&quot;;  6     print (&quot;$test&quot;);  7  print &lt;&lt;'[HTML]';  8     9  \u0422\u0435\u043a\u0441\u0442 HTML&lt;br&gt;  10  [HTML] <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <a name=\"m\"><\/a>  <\/p>\n<h2>\u041c\u043e\u0434\u0443\u043b\u0438-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f PHL<a href=\"#sd\">&nbsp;^&nbsp;<\/a><\/h2>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0432 PHL \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 <font color=\"#710000\">[sh]<\/font>, \u043a\u043b\u044e\u0447\u0438 <font color=\"#710000\">[keys]<\/font>, \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 <font color=\"#710000\">[include]<\/font> \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b <font color=\"#710000\">[param]<\/font> \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216;.<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">&lt;%<\/font><font color=\"#710000\">[sh] [keys]<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u2026<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">include(&quot;<font color=\"#710000\">[include]<\/font>&quot;, &quot;<font color=\"#710000\">[param]<\/font>&quot;)<\/font>;<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u2026<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">%&gt;<\/font><\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041d\u043e\u0432\u044b\u0435 \u043a\u043b\u044e\u0447\u0438, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 <font color=\"#000099\">phl.pm<\/font> \u0438\u0437 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439 \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0432 PHL \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b 4 \u043c\u043e\u0434\u0443\u043b\u044f:  <\/p>\n<pre><code>   use HTML::Phl::Utilit;    use HTML::Phl::Psimple;    use HTML::Phl::Php;    use HTML::Phl::Ru; <\/code><\/pre>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041c\u043e\u0434\u0443\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u0430\u043a \u0432 \u0444\u0430\u0439\u043b\u0435 &#8216;<font color=\"#000099\">phl.pm<\/font>&#8216; \u0438\u043b\u0438 &#8216;<font color=\"#000099\">config.phl<\/font>&#8216;, \u0442\u0430\u043a \u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 PHL.  <\/p>\n<pre><code> 1  %pl -ev use HTML::Phl::Utilit  2    3  &lt;%pl  4     # \u043a\u043e\u0434 perl  5  %&gt; <\/code><\/pre>\n<h3>\u2022 \u041c\u043e\u0434\u0443\u043b\u044c &#8216;<font color=\"#000099\">HTML::Phl::Utilit<\/font>&#8216;<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041c\u043e\u0434\u0443\u043b\u044c \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 5 \u043a\u043b\u044e\u0447\u0435\u0439, 2 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0438 2 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216;.<\/p>\n<p>  <font color=\"#710000\">[keys]<\/font>: <br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-listing<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-analys<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-config<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-timer<\/font> <br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">-no_timer<\/font> <\/p>\n<p>  <font color=\"#710000\">[param]<\/font>:<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">listing<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">analys<\/font><\/p>\n<p>  <font color=\"#710000\">[include]<\/font>: <br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">CONFIG<\/font><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<font color=\"#000099\">TIMER<\/font><\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<b>\u041a\u043b\u044e\u0447\u0438<\/b> &#8216;<font color=\"#000099\">-listing<\/font>&#8216; [ &#8216;<font color=\"#000099\">-lt<\/font>&#8216; ] \u0438 &#8216;<font color=\"#000099\">-analys<\/font>&#8216; [ &#8216;<font color=\"#000099\">-as<\/font>&#8216; ] \u0438 <b>\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/b> &#8216;<font color=\"#000099\">listing<\/font>&#8216; ( &#8216;<font color=\"#000099\">lt<\/font>&#8216; ) \u0438 &#8216;<font color=\"#000099\">analys<\/font>&#8216; ( &#8216;<font color=\"#000099\">as<\/font>&#8216; ) \u0434\u0430\u044e\u0442, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043b\u0438\u0441\u0442\u0438\u043d\u0433 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u043b\u0438 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c \u043a\u043e\u0434 perl \u043f\u0435\u0440\u0435\u0434 \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c <font color=\"#000099\">eval<\/font>.<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043b\u044e\u0447 &#8216;<font color=\"#000099\">-listing<\/font>&#8216; [ &#8216;<font color=\"#000099\">-lt<\/font>&#8216; ]  <\/p>\n<pre><code> 1  \u0422\u0435\u043a\u0441\u0442 HTML 1  2  &lt;br&gt;&lt;br&gt;  3    4  &lt;%pl -lt  5     my $test = &quot;\u0422\u0435\u043a\u0441\u0442 Perl&lt;br&gt;&quot;;  6     print &quot;$test&quot;;  7  %&gt;  8  &lt;br&gt;  9    10 \u0422\u0435\u043a\u0441\u0442 HTML 2 <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\u0422\u0435\u043a\u0441\u0442 HTML 1 <\/p>\n<pre><code> 1   my $test = &quot;\u0422\u0435\u043a\u0441\u0442 Perl&lt;br&gt;&quot;;  2   print &quot;$test&quot;; <\/code><\/pre>\n<p>  \u0422\u0435\u043a\u0441\u0442 HTML 2  <\/div>\n<\/div>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043b\u044e\u0447 &#8216;<font color=\"#000099\">-analys<\/font>&#8216; [ &#8216;<font color=\"#000099\">-as<\/font>&#8216; ]   <\/p>\n<pre><code> 1  %pl -as  2    3  &lt;%pl  4     my $test = &quot;\u0422\u0435\u043a\u0441\u0442 Perl&lt;br&gt;&quot;;  5     print (&quot;$test&quot;);  6  %&gt;  7    8  \u0422\u0435\u043a\u0441\u0442 HTML \u0438 &lt;%pl= $test %&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code> 1  ;  2  print &lt;&lt;'[HTML]';  3     4  [HTML]  5     my $test = &quot;\u0422\u0435\u043a\u0441\u0442 Perl&lt;br&gt;&quot;;  6     print (&quot;$test&quot;);  7  print &lt;&lt;'[HTML]';  8     9  [HTML]  10  print &lt;&lt;'[HTML]' =~ \/(.*)\/;  11  \u0422\u0435\u043a\u0441\u0442 HTML \u0438  12  [HTML]  13  print($test); <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<b>\u041a\u043b\u044e\u0447<\/b> &#8216;<font color=\"#000099\">-config<\/font>&#8216; [ &#8216;<font color=\"#000099\">-cf<\/font>&#8216; ] \u0438\u043b\u0438 <b>\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442<\/b> &#8216;<font color=\"#000099\">CONFIG<\/font>&#8216; \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u0432\u044b\u0432\u043e\u0434\u044f\u0442 \u043d\u0430 \u043f\u0435\u0447\u0430\u0442\u044c \u0445\u044d\u0448 <font color=\"#000099\">%phl<\/font> \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445.  <\/p>\n<pre><code> 1  %pl -config  2    3  \u0438\u043b\u0438 \u0442\u0430\u043a  4    5  &lt;%pl  6     include(&quot;CONFIG&quot;);  7  %&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<h3>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<\/h3>\n<p>  <b>bottom<\/b> = &#187;<br \/>  <b>bufer<\/b> = &#8216;<font color=\"gray\">1<\/font>&#8216;<br \/>  <b>config<\/b> = &#8216;<font color=\"gray\">config.phl<\/font>&#8216;<br \/>  <b>config_path<\/b> = &#187;<br \/>  <b>encoding_in<\/b> = &#8216;<font color=\"gray\">utf8<\/font>&#8216;<br \/>  <b>encoding_out<\/b> = &#8216;<font color=\"gray\">utf8<\/font>&#8216;<br \/>  <b>finde_config<\/b> = &#8216;<font color=\"gray\">yes<\/font>&#8216;<br \/>  <b>header<\/b> = &#8216;<font color=\"gray\">Content-type: text\/html; charset=utf-8<\/font>&#8216;<br \/>  <b>index<\/b> = &#8216;<font color=\"gray\">index.phl<\/font>&#8216;<br \/>  <b>ln<\/b> = &#8216;<font color=\"gray\">%<\/font>&#8216;<br \/>  <b>locale<\/b> = &#8216;<font color=\"gray\">utf8<\/font>&#8216;<br \/>  <b>lt<\/b> = &#8216;<font color=\"gray\">&lt;%<\/font>&#8216;<br \/>  <b>pl<\/b> = &#8216;<font color=\"gray\">phl<\/font>&#8216;<br \/>  <b>rt<\/b> = &#8216;<font color=\"gray\">%&gt;<\/font>&#8216;<br \/>  <b>script_dir<\/b> = &#187;<br \/>  <b>sh<\/b> = &#8216;<font color=\"gray\">pl<\/font>&#8216;<br \/>  <b>threads<\/b> = &#8216;<font color=\"gray\">1<\/font>&#8216;<br \/>  <b>timer<\/b> = &#8216;<font color=\"gray\">0<\/font>&#8216;<br \/>  <b>top<\/b> = &#187;  <\/div>\n<\/div>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;<b>\u041a\u043b\u044e\u0447\u0438<\/b> &#8216;<font color=\"#000099\">-timer<\/font>&#8216; [ &#8216;<font color=\"#000099\">-tm<\/font>&#8216; ] \u0438 &#8216;<font color=\"#000099\">-no_timer<\/font>&#8216; [ &#8216;<font color=\"#000099\">-nt<\/font>&#8216; ] \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0432\u044b\u0432\u043e\u0434\u0430 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043a\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u044b \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b,<br \/>  \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 &#8216;<font color=\"#000099\">TIMER<\/font>&#8216; \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">include()<\/font>&#8216; \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0442\u0430\u0439\u043c\u0435\u0440.  <\/p>\n<pre><code> 1 &lt;%pl  2    # \u0437\u0430\u043f\u0443\u0441\u043a \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0442\u0430\u0439\u043c\u0435\u0440\u0430  3    %pl -timer  4  5    # \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0442\u0430\u0439\u043c\u0435\u0440\u0430  6    %pl -nt  7 %&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">1. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c timer \u043a\u043b\u044e\u0447\u0435\u043c &#8216;-timer&#8217; \u0438\u043b\u0438 &#8216;-tm&#8217;<br \/>  <b>timer = 4<\/b><\/p>\n<p>  2. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c &#8216;include()&#8217; (\u0431\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432)<\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 =&gt; <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\"> 0.248574<\/font><font color=\"gray\"> [0.226931 ]<\/font> &lt; <font color=\"#000099\">INCLUDE_BEGINE<\/font> <font color=\"gray\">()<\/font><\/p>\n<p>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\"> 0.248953<\/font><font color=\"gray\"> [0.227302 ]<\/font> &lt; <font color=\"#000099\">INCLUDE_END<\/font> <font color=\"gray\">()<\/font><\/p>\n<p>  test: <b>timer = 4<\/b><\/p>\n<p>  3. \u0412\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c timer \u043a\u043b\u044e\u0447\u0435\u043c &#8216;-no_timer&#8217; \u0438\u043b\u0438 &#8216;-nt&#8217;<\/p>\n<p>  4. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c &#8216;include()&#8217;<\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 =&gt; test: <b>timer = 0<\/b>  <\/div>\n<\/div>\n<pre><code> 1 &lt;%pl  2    # \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u0442\u0430\u0439\u043c\u0435\u0440\u0430  3    include(&quot;TIMER&quot;, &quot;\u0438\u043c\u044f \u0442\u0430\u0439\u043c\u0435\u0440\u0430&quot;);  4 %&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0442\u0430\u0439\u043c\u0435\u0440 <b>1<\/b>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">0.000005<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_1)<\/font><\/p>\n<p>  \u0436\u0434\u0435\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u2014 <b>sleep 0.2<\/b>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">0.200440<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_1)<\/font><\/p>\n<p>  \u041d\u043e\u0432\u044b\u0439 \u0442\u0430\u0439\u043c\u0435\u0440 <b>2<\/b>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">0.000004<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_2)<\/font><\/p>\n<p>  \u0436\u0434\u0435\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u2014 <b>sleep 0.5<\/b>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">0.701001<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_1)<\/font><\/p>\n<p>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">0.500496<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_2)<\/font><\/p>\n<p>  \u041d\u043e\u0432\u044b\u0439 \u0442\u0430\u0439\u043c\u0435\u0440 <b>3<\/b>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">0.000003<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_3)<\/font><\/p>\n<p>  \u0436\u0434\u0435\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u2014 <b>sleep 0.35<\/b>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">1.051648<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_1)<\/font><\/p>\n<p>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">0.851139<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_2)<\/font><\/p>\n<p>  <\/p>\n<p><font color=\"gray\"> \u2022 \u0412\u0440\u0435\u043c\u044f \u2014 <\/font><font color=\"#000099\">0.350579<\/font> &lt; <font color=\"#000099\">TIMER<\/font> <font color=\"gray\">(name_timer_3)<\/font><\/p>\n<p>  <\/div>\n<\/div>\n<h3>\u2022 \u041c\u043e\u0434\u0443\u043b\u044c &#8216;<font color=\"#000099\">HTML::Phl::Php<\/font>&#8216;<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c &#8216;<font color=\"#000099\">php<\/font>&#8216;, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">&lt;%pl<\/font>&#8216; \u0432 &#8216;<font color=\"#000099\">&lt;%php<\/font>&#8216;, \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u043e\u0434\u043e\u043c \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f PHP;  <\/p>\n<pre><code> 1  %pl -ev use HTML::Phl::Php;  2    3  %pl our $pl = 5;  4    5  \u0418\u0441\u0445\u043e\u0434\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f PERL: $pl = &lt;b&gt;'&lt;%pl= $pl %&gt;'&lt;\/b&gt;.  6  &lt;br&gt;&lt;br&gt;  7    8  &lt;%php  9     echo &quot;\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 $pl \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0432 PHP ($pl -&gt; $php).&lt;br&gt;&quot;;  10    OUT_PERL($pl -&gt; $php);  11     12    echo &quot;&lt;li&gt;\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f $php = $php.&lt;\/li&gt;&lt;br&gt;&quot;;  13    14    echo &quot;\u0412 PHP \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439: $php = 2 * $php + 1.5.&lt;br&gt;&lt;br&gt;&quot;;  15    $php = 2 * $php + 1.5;  16    17    echo &quot;\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 $php \u0432 PERL ($php -&gt; $pl).&lt;br&gt;&quot;;  18    IN_PERL($php -&gt; $pl);  19 %&gt;  20    21  &lt;li&gt;\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f PERL: $pl = &lt;b&gt;'&lt;%pl= $pl %&gt;'&lt;\/b&gt;&lt;\/li&gt;. <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\u0418\u0441\u0445\u043e\u0434\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f PERL: $pl = <b>&#8216;5&#8217;<\/b>.<\/p>\n<p>  \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 $pl \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0432 PHP ($pl -&gt; $php).<br \/>  \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f $php = 5.<br \/>  \u0412 PHP \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439: $php = 2 * $php + 1.5.<\/p>\n<p>  \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 $php \u0432 PERL ($php -&gt; $pl).<br \/>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f PERL: $pl = <b>&#8216;11.5&#8217;<\/b>.  <\/div>\n<\/div>\n<h3>\u2022 \u041c\u043e\u0434\u0443\u043b\u044c &#8216;<font color=\"#000099\">HTML::Phl::Ru<\/font>&#8216;<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c &#8216;<font color=\"#000099\">\u0440\u0443\u0441<\/font>&#8216;, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 &#8216;<font color=\"#000099\">&lt;%pl<\/font>&#8216; \u0432 &#8216;<font color=\"#000099\">&lt;%\u0440\u0443\u0441<\/font>&#8216;, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430\u043c\u0438 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f.  <\/p>\n<pre><code> 1  %pl -ev use HTML::Phl::Ru;  2    3  &lt;%\u0440\u0443\u0441  4     my @\u0438\u043c\u0435\u043d\u0430_\u0444\u0430\u0439\u043b\u043e\u0432 = (  5        'file_exist.phl',  6        'http:\/\/www.pushkinmuseum.ru',  7        'http:\/\/www.pushkinmuseum.ru\/467899',  8        'http:\/\/eklmn12344556778.ru'  9     );  10     11    foreach my $\u0438\u043c\u044f_\u0444\u0430\u0439\u043b\u0430 (@\u0438\u043c\u0435\u043d\u0430_\u0444\u0430\u0439\u043b\u043e\u0432) {  12       my $\u043d\u0430\u0439\u0434\u0435\u043d\u043e = \u0412\u041a\u041b\u042e\u0427\u0418\u0422\u042c(&quot;$\u0438\u043c\u044f_\u0444\u0430\u0439\u043b\u0430&quot;, &quot;socket exist&quot;);  13       \u0415\u0421\u041b\u0418 ($\u043d\u0430\u0439\u0434\u0435\u043d\u043e) {  14          \u041f\u0415\u0427\u0410\u0422\u042c &quot;'$\u0438\u043c\u044f_\u0444\u0430\u0439\u043b\u0430' - &lt;B&gt;\u043d\u0430\u0439\u0434\u0435\u043d&lt;\/B&gt;&lt;br&gt;&quot;;  15       } \u0418\u041b\u0418 \u0415\u0421\u041b\u0418 (!defined $\u043d\u0430\u0439\u0434\u0435\u043d\u043e) {  16          \u041f\u0415\u0427\u0410\u0422\u042c &quot;'$\u0438\u043c\u044f_\u0444\u0430\u0439\u043b\u0430' - &lt;B&gt;\u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442&lt;\/B&gt;&lt;br&gt;&quot;;     17       } \u0418\u041d\u0410\u0427\u0415 {  18          \u041f\u0415\u0427\u0410\u0422\u042c (&quot;'$\u0438\u043c\u044f_\u0444\u0430\u0439\u043b\u0430' - &lt;B&gt;\u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d&lt;\/B&gt;&lt;br&gt;&quot;);  19       }  20    }  21 %&gt; <\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/b><\/p>\n<div class=\"spoiler_text\">&#8216;file_exist.phl&#8217; \u2014 <b>\u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d<\/b><br \/>  &#8216;http:\/\/www.pushkinmuseum.ru&#8217; \u2014 <b>\u043d\u0430\u0439\u0434\u0435\u043d<\/b><br \/>  &#8216;http:\/\/www.pushkinmuseum.ru\/467899&#8217; \u2014 <b>\u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d<\/b><br \/>  &#8216;http:\/\/eklmn12344556778.ru&#8217; \u2014 <b>\u043d\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442<\/b>  <\/div>\n<\/div>\n<h3>\u2022 \u041c\u043e\u0434\u0443\u043b\u044c &#8216;<font color=\"#000099\">HTML::Phl::Psimple<\/font>&#8216;<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;<font color=\"#000099\">Simple<\/font>&#8216; [&#8216;<font color=\"#000099\">sl<\/font>&#8216;] \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u043c\u043e\u0434\u0443\u043b\u0435\u043c Perl &#8216;<font color=\"#000099\">LWP::Simple<\/font>&#8216;;<\/p>\n<h3>\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439<\/h3>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0414\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u043a\u043b\u044e\u0447\u0435\u0439, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c\u0441\u044f \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u0435 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u2014 \u0432 &#8216;Phl&#8217;, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0435\u0439\u0441\u044f \u0440\u044f\u0434\u043e\u043c \u0441 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b &#8216;<font color=\"#000099\">phl.pm<\/font>&#8216;) \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u044b\u0439 \u0445\u044d\u0448 &#8216;<font color=\"#000099\">%phl_import<\/font>&#8216;, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0445\u0435\u0448\u0430 \u0431\u0443\u0434\u0443\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u043a\u043b\u044e\u0447\u0438, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u0425\u044d\u0448 &#8216;<font color=\"#000099\">%phl_import<\/font>&#8216; \u043c\u043e\u0436\u0435\u0442 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c 5 \u043a\u043b\u044e\u0447\u0435\u0439 \u2014 &#8216;<font color=\"#000099\">sh<\/font>&#8216;, &#8216;<font color=\"#000099\">key<\/font>&#8216;, &#8216;<font color=\"#000099\">param<\/font>&#8216;, &#8216;<font color=\"#000099\">include<\/font>&#8216; \u0438 &#8216;<font color=\"#000099\">eval<\/font>&#8216;.  <\/p>\n<pre><code> 1    our %phl_import = (  2       key     =&gt; {  3                    tm    =&gt; \\&HTML::Phl::Utilit::key_timer,  4                    im    =&gt; \\&HTML::Phl::Utilit::print_import,  5                  },  6       include =&gt; {  7                    TIMER  =&gt; \\&HTML::Phl::Utilit::my_timer,  8                    CONFIG =&gt; \\&HTML::Phl::Utilit::config,  9                  },  10       param  =&gt; {lt    =&gt; \\&HTML::Phl::Utilit::open_listing},  11       sh     =&gt; {'\u0440\u0443\u0441'  =&gt; \\&HTML::Phl::Ru::ru_perl},  12       eval   =&gt; {as    =&gt; \\&HTML::Phl::Utilit::eval_code}  13   ); <\/code><\/pre>\n<p>  <a name=\"n\"><\/a>  <\/p>\n<h2>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<a href=\"#sd\">&nbsp;^&nbsp;<\/a><\/h2>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b &#8216;<font color=\"#000099\">config.phl<\/font>&#8216; \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432 &#8216;<font color=\"#000099\">phl.pm<\/font>&#8216;. \u0418\u0445 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u0432 \u043b\u044e\u0431\u043e\u0439 web-\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0439 PHL \u0444\u0430\u0439\u043b\u044b.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Perl \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u043b\u044e\u0447\u0435\u0439 \u0445\u0435\u0448\u0430 <font color=\"#000099\">%phl<\/font>.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">config.phl<\/b><\/p>\n<div class=\"spoiler_text\"><i># \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043a\u0430\u043a \u0444\u0430\u0439\u043b\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0430 PHL (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u2014 &#8216;.phl&#8217;)<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{pl}<\/font> = &#8216;<font color=\"#710000\">phl<\/font>&#8216;;<\/p>\n<p>  <i># \u0418\u043c\u044f \u0444\u0430\u0439\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0449\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f &#8216;include()&#8217; \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 <a href=\"http:\/\/domain.ru\/file_path\/\">domain.ru\/file_path<\/a><\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{index}<\/font> = &#8216;<font color=\"#710000\">index.phl<\/font>&#8216;;<\/p>\n<p>  <i># \u041e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u0438\u043b\u0438 \u043d\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 &#8216;config.phl&#8217; \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0445 include() \u0444\u0430\u0439\u043b\u043e\u0432 [ yes\/no ]<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{finde_config}<\/font> = &quot;<font color=\"#710000\">yes<\/font>&quot;;<\/p>\n<p>  <i># \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0435\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 [ \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, &#8216;&lt;%pl code_perl %&gt;&#8217;, &#8216;%pl line_code_perl&#8217; ]<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{lt}<\/font> = &#8216;<font color=\"#710000\">&lt;%<\/font>&#8216;; <br \/>  <i># \u043d\u0430\u0447\u0430\u043b\u043e \u0431\u043b\u043e\u043a\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{rt}<\/font> = &#8216;<font color=\"#710000\">%&gt;<\/font>&#8216;; <br \/>  <i># \u043a\u043e\u043d\u0435\u0446 \u0431\u043b\u043e\u043a\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{ln}<\/font> = &#8216;<font color=\"#710000\">%<\/font>&#8216;; <br \/>  <i># \u043b\u0438\u043d\u0435\u0439\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{sh}<\/font> = &#8216;<font color=\"#710000\">pl<\/font>&#8216;; <br \/>  <i># \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u043d\u043e\u0441\u0442\u0438 \u043a \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043a perl)<\/i><\/p>\n<p>  <i># \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 [ \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u00abContent-type: text\/html; charset=utf-8\\n\\n\u00bb; $phl_header = &quot;&quot; \u2014 \u043d\u0435\u0442 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 ]<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{header}<\/font> = &quot;&quot;;<\/p>\n<p>  <i># \u0412\u0435\u0440\u0445\u043d\u0438\u0439 \u043a\u043e\u043b\u043e\u043d\u0442\u0438\u0442\u0443\u043b<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{top}<\/font> = &quot;&quot;;<\/p>\n<p>  <i># \u041d\u0438\u0436\u043d\u0438\u0439 \u043a\u043e\u043b\u043e\u043d\u0442\u0438\u0442\u0443\u043b<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{bottom}<\/font> = &quot;&quot;;<\/p>\n<p>  <i># \u0421\u0431\u0440\u043e\u0441 \u0431\u0443\u0444\u0435\u0440\u0430 [ \u00ab1\u00bb \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 =&gt; $| = 1, \u00ab0\u00bb \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 =&gt; $| = 0 ]<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{bufer}<\/font> = <font color=\"#710000\">1<\/font>;<\/p>\n<p>  <i># \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 (\u043d\u0438\u0442\u0435\u0439) [ 1\/0 ]<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{threads}<\/font> = <font color=\"#710000\">1<\/font>;<\/p>\n<p>  <i># \u041f\u043e\u0434\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 [ \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0430\u044f \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u0434\u0435\u0442\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 =&gt; \u00ab0\u00bb \u2014 \u043d\u0435\u0442, \u00ab1\u00bb&#8230;\u00ab4\u00bb \u2014 \u0434\u0430 ]<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{timer}<\/font> = <font color=\"#710000\">0<\/font>;<\/p>\n<p>  <i># \u041a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 [ cp1251, utf8, koi8-r, iso-8859-5, cp866\u2026 ]<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{encoding_in}<\/font> = &quot;<font color=\"#710000\">utf8<\/font>&quot;; <i># \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0445 include() \u0444\u0430\u0439\u043b\u043e\u0432<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{encoding_out}<\/font> = &quot;<font color=\"#710000\">utf8<\/font>&quot;; <i># \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430<\/i><br \/>  &nbsp;&nbsp;&nbsp;&nbsp; <font color=\"#000099\">$phl{locale}<\/font> = &quot;<font color=\"#710000\">utf8<\/font>&quot;; <i># \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 \u0438\u043c\u0435\u043d \u0444\u0430\u0439\u043b\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/i>  <\/div>\n<\/div>\n<hr\/>\n<p>  <a name=\"d\"><\/a>  <\/p>\n<h2>\u0414\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 PHL<a href=\"#sd\">&nbsp;^&nbsp;<\/a><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/76b\/388\/7a3\/76b3887a3d564bc18e9d56a7adb61dbb.jpg\" width=\"92\" height=\"100\" alt=\"camel\" align=\"right\"\/><br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u041c\u043e\u0434\u0443\u043b\u044c <font color=\"#000099\">&#8216;HTML::Phl&#8217;<\/font> \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438, \u0442\u0435\u0441\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c <a href=\"http:\/\/phl.cherti.ru\/?downloads\">\u0437\u0434\u0435\u0441\u044c<\/a>.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;\u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043c\u043e\u0434\u0443\u043b\u044f \u0432 \u041e\u0421 Android, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <a href=\"http:\/\/eax.me\/perl-on-android\/\">SL4A<\/a>, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0440\u0435\u0434\u0435 perl-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b\u0439 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c HTML \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c Perl. \u041a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 Perl \u043f\u043e\u0434 Android \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f <a href=\"http:\/\/korzh.net\/2011-04-pishem-svoj-veb-server-na-perl-pod-android.html\">\u0437\u0434\u0435\u0441\u044c<\/a> \u0438\u043b\u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 PHL \u0432\u0430\u0440\u0438\u0430\u043d\u0442 <a href=\"http:\/\/phl.cherti.ru\/?downloads\">\u0437\u0434\u0435\u0441\u044c<\/a>.<br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/304634\/\"> https:\/\/habrahabr.ru\/post\/304634\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2b6\/801\/9d7\/2b68019d79ff4d4d9d89c82086e07f57.jpg\" width=\"721\" height=\"354\"\/><\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0430 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u044f <font color=\"#000099\">HTML::Phl<\/font> \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 HTML-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u043c\u0438 \u043a\u043e\u0434 \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Perl.<\/p>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0417\u0430\u0434\u0430\u0447\u0430 \u043c\u043e\u0434\u0443\u043b\u044f <font color=\"#000099\">HTML::Phl<\/font> \u2014 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 HTML, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u044b\u0439 \u0432 \u043d\u0435\u043c \u043e\u0441\u043e\u0431\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c perl-\u043a\u043e\u0434, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u0435-\u043a\u0430\u043a\u0438\u0435 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438 \u043d\u0430\u0434 \u043d\u0438\u043c \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0435 \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u043a\u043e\u0434 perl \u0438 \u00ab\u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c\u00bb \u0432\u0441\u0451 \u044d\u0442\u043e &#8216;<font color=\"#000099\">eval<\/font>&#8216;, \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u0443\u044e \u0432\u0435\u0431-\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>1   &lt;HTML&gt; 2   &lt;HEAD&gt; 3   &lt;META content=&quot;text\/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt; 4   &lt;TITLE&gt;\u041f\u0440\u0438\u043c\u0435\u0440 PHL&lt;\/TITLE&gt; 5   &lt;\/HEAD&gt; 6    7   \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u0432\u0430 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 f1 \u0438 f2&lt;br&gt; 8 9   %pl  include(&quot;process_win.phl&quot;, &quot;fork decode=cp1251&quot;, &quot;f1&quot;); 10  %pl  include(&quot;process_utf.phl&quot;, &quot;fork decode=utf8&quot;, &quot;f2&quot;); 11 12  \u0416\u0434\u0435\u043c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432&lt;br&gt; 13 14  &lt;%pl my %join = include(&quot;JOIN&quot;, &quot;f1 f2&quot;); %&gt; 15 16  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432&lt;br&gt; 17 18  &lt;%pl 19     foreach my $key(keys(%join)) { 20        if (ref $join{$key}) { 21           print &quot;\u043f\u0440\u043e\u0446\u0435\u0441\u0441 '$key' - \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: &quot;; 22           for (my $i = 0; $i &lt;= $#{$join{$key}}; $i++) { 23              print &quot;'${$join{$key}}[$i]' &quot;; 24           } 25           print &quot;&lt;br&gt;&quot;; 26        } else { 27           print &quot;\u043f\u0440\u043e\u0446\u0435\u0441\u0441 '$key' - \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442: '$join{$key}'&lt;br&gt;&quot;; 28        } 29     } 30  %&gt; 31    32  &lt;\/HTML&gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  &nbsp;&nbsp;&nbsp;&nbsp;\u0421\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f \u043d\u043e\u0441\u0438\u0442 \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440, \u0438 \u0435\u0433\u043e \u043d\u0430\u0434\u0435\u0436\u043d\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-283069","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/283069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=283069"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/283069\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=283069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=283069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=283069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}