{"id":10,"date":"2016-07-31T17:56:24","date_gmt":"2016-07-31T14:56:24","guid":{"rendered":"http:\/\/sanana.kiev.ua\/?p=10"},"modified":"2016-08-03T14:05:58","modified_gmt":"2016-08-03T11:05:58","slug":"%d0%b4%d0%b5%d1%81%d0%ba%d1%82%d0%be%d0%bf%d0%bd%d1%8b%d0%b5-%d1%83%d0%b2%d0%b5%d0%b4%d0%be%d0%bc%d0%bb%d0%b5%d0%bd%d0%b8%d1%8f-%d0%bd%d0%b0-perl","status":"publish","type":"post","link":"https:\/\/sanana.kiev.ua\/index.php\/archives\/10","title":{"rendered":"\u0414\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043d\u0430 perl"},"content":{"rendered":"<p>\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442 \u043e\u0442\u043f\u0443\u0441\u043a \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u042f &#8211; \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439, \u043f\u043e\u0442\u043e\u043c\u0443 \u0438 \u043e\u0442\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0432\u043e\u0436\u0443 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u041e\u0434\u043d\u0430 \u0438\u0437 \u043d\u0435\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u043e\u0442\u043f\u0443\u0441\u043a\u0430 &#8211; \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\u00a0<a href=\"https:\/\/developer.gnome.org\/notification-spec\/\">\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439<\/a>\u00a0\u043d\u0430 perl-\u0435.<\/p>\n<p><!--more--><\/p>\n<p>\u041d\u0443 \u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a\u043e\u0434, \u0447\u043e \u0443\u0436 \u0442\u0430\u043c<\/p>\n<pre style=\"color: #000000; background-color: #e0eaee; font-size: 10pt; font-family: 'Courier New',monospace;\"><span style=\"color: #838183; font-style: italic;\">#!\/usr\/bin\/perl<\/span>\r\n\r\n<span style=\"color: #000000; font-weight: bold;\">use<\/span> warnings<span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">use<\/span> strict<span style=\"color: #000000;\">;<\/span>\r\n\r\n<span style=\"color: #000000; font-weight: bold;\">use<\/span> Net<span style=\"color: #000000;\">::<\/span>DBus<span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">use<\/span> Net<span style=\"color: #000000;\">::<\/span>DBus<span style=\"color: #000000;\">::<\/span>Service<span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">use<\/span> Net<span style=\"color: #000000;\">::<\/span>DBus<span style=\"color: #000000;\">::<\/span>Reactor<span style=\"color: #000000;\">;<\/span>\r\n\r\n<span style=\"color: #0057ae;\">$ENV<\/span><span style=\"color: #000000;\">{<\/span><span style=\"color: #bf0303;\">\"YAD_OPTIONS\"<\/span><span style=\"color: #000000;\">} =<\/span> <span style=\"color: #bf0303;\">\"--sticky --fixed --on-top --undecorated --no-focus --no-buttons --borders=15 --width=250 --name=Popup --image-on-top --posx=-5 --posy=-5\"<\/span><span style=\"color: #000000;\">;<\/span>\r\n\r\n<span style=\"color: #000000; font-weight: bold;\">package<\/span> Notifications<span style=\"color: #000000;\">;<\/span>\r\n\r\n<span style=\"color: #000000; font-weight: bold;\">use<\/span> base <span style=\"color: #000000; font-weight: bold;\">qw<\/span><span style=\"color: #000000;\">(<\/span>Net<span style=\"color: #000000;\">::<\/span>DBus<span style=\"color: #000000;\">::<\/span>Object<span style=\"color: #000000;\">);<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">use<\/span> Net<span style=\"color: #000000;\">::<\/span>DBus<span style=\"color: #000000;\">::<\/span>Exporter <span style=\"color: #000000; font-weight: bold;\">qw<\/span><span style=\"color: #000000;\">(<\/span>org<span style=\"color: #000000;\">.<\/span>freedesktop<span style=\"color: #000000;\">.<\/span>Notifications<span style=\"color: #000000;\">);<\/span>\r\n\r\n<span style=\"color: #000000; font-weight: bold;\">sub<\/span> new <span style=\"color: #000000;\">{<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$class<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$service<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$self<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #0057ae;\">$class<\/span><span style=\"color: #000000;\">-&gt;<\/span><span style=\"color: #010181;\">SUPER<\/span><span style=\"color: #000000;\">::<\/span>new<span style=\"color: #000000;\">(<\/span><span style=\"color: #0057ae;\">$service<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"\/org\/freedesktop\/Notifications\"<\/span><span style=\"color: #000000;\">);<\/span>\r\n\r\n    <span style=\"color: #000000; font-weight: bold;\">bless<\/span> <span style=\"color: #0057ae;\">$self<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #0057ae;\">$class<\/span><span style=\"color: #000000;\">;<\/span>\r\n\r\n    <span style=\"color: #000000; font-weight: bold;\">return<\/span> <span style=\"color: #0057ae;\">$self<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\ndbus_method<span style=\"color: #000000;\">(<\/span><span style=\"color: #bf0303;\">\"Notify\"<\/span><span style=\"color: #000000;\">, [<\/span><span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"uint32\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">, [<\/span><span style=\"color: #bf0303;\">\"array\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">], [<\/span><span style=\"color: #bf0303;\">\"dict\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">],<\/span> <span style=\"color: #bf0303;\">\"int32\"<\/span><span style=\"color: #000000;\">], [<\/span><span style=\"color: #bf0303;\">\"uint32\"<\/span><span style=\"color: #000000;\">]);<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">sub<\/span> Notify <span style=\"color: #000000;\">{<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$self<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$action<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$id<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$icon<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$summary<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$body<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$actions<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$hints<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$timeout<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$txt<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #bf0303;\">'&lt;span size=<\/span><span style=\"color: #ff00ff;\">\\\\<\/span><span style=\"color: #bf0303;\">\"large<\/span><span style=\"color: #ff00ff;\">\\\\<\/span><span style=\"color: #bf0303;\">\" weight=<\/span><span style=\"color: #ff00ff;\">\\\\<\/span><span style=\"color: #bf0303;\">\"bold<\/span><span style=\"color: #ff00ff;\">\\\\<\/span><span style=\"color: #bf0303;\">\"&gt;'<\/span> <span style=\"color: #000000;\">.<\/span> <span style=\"color: #0057ae;\">$summary<\/span> <span style=\"color: #000000;\">.<\/span> <span style=\"color: #bf0303;\">'&lt;\/span&gt;<\/span><span style=\"color: #ff00ff;\">\\n<\/span><span style=\"color: #bf0303;\">'<\/span> <span style=\"color: #000000;\">.<\/span> <span style=\"color: #0057ae;\">$body<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$cmd<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #bf0303;\">'yad --text=\"'<\/span> <span style=\"color: #000000;\">.<\/span> <span style=\"color: #0057ae;\">$txt<\/span> <span style=\"color: #000000;\">.<\/span><span style=\"color: #bf0303;\">'\" --image=\"'<\/span> <span style=\"color: #000000;\">.<\/span> <span style=\"color: #0057ae;\">$icon<\/span> <span style=\"color: #000000;\">.<\/span> <span style=\"color: #bf0303;\">'\" --timeout='<\/span> <span style=\"color: #000000;\">.<\/span> <span style=\"color: #000000; font-weight: bold;\">int<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #0057ae;\">$timeout<\/span> <span style=\"color: #000000;\">\/<\/span> <span style=\"color: #b07e00;\">100<\/span><span style=\"color: #000000;\">);<\/span>\r\n    \r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$pid<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">fork<\/span><span style=\"color: #000000;\">();<\/span>\r\n\r\n    <span style=\"color: #000000; font-weight: bold;\">if<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #000000; font-weight: bold;\">defined<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #0057ae;\">$pid<\/span><span style=\"color: #000000;\">)) {<\/span>\r\n        <span style=\"color: #000000; font-weight: bold;\">exec<\/span> <span style=\"color: #000000;\">(<\/span><span style=\"color: #0057ae;\">$cmd<\/span><span style=\"color: #000000;\">)<\/span> <span style=\"color: #000000; font-weight: bold;\">if<\/span> <span style=\"color: #000000;\">(!<\/span><span style=\"color: #0057ae;\">$pid<\/span><span style=\"color: #000000;\">);<\/span>\r\n    <span style=\"color: #000000;\">}<\/span> <span style=\"color: #000000; font-weight: bold;\">else<\/span> <span style=\"color: #000000;\">{<\/span>\r\n        <span style=\"color: #000000; font-weight: bold;\">print<\/span> <span style=\"color: #bf0303;\">\"notify (fork): $!<\/span><span style=\"color: #ff00ff;\">\\n<\/span><span style=\"color: #bf0303;\">\"<\/span><span style=\"color: #000000;\">;<\/span>\r\n        <span style=\"color: #0057ae;\">$pid<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #b07e00;\">0<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000;\">}<\/span>\r\n\r\n    <span style=\"color: #000000; font-weight: bold;\">return<\/span> <span style=\"color: #0057ae;\">$pid<\/span><span style=\"color: #000000;\">;<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\ndbus_method<span style=\"color: #000000;\">(<\/span><span style=\"color: #bf0303;\">\"CloseNotification\"<\/span><span style=\"color: #000000;\">, [<\/span><span style=\"color: #bf0303;\">\"uint32\"<\/span><span style=\"color: #000000;\">], [], {<\/span> no_return <span style=\"color: #000000;\">=&gt;<\/span> <span style=\"color: #b07e00;\">1<\/span> <span style=\"color: #000000;\">});<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">sub<\/span> CloseNotification <span style=\"color: #000000;\">{<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$self<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$id<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">kill<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #bf0303;\">'USR1'<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #0057ae;\">$id<\/span><span style=\"color: #000000;\">);<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\ndbus_method<span style=\"color: #000000;\">(<\/span><span style=\"color: #bf0303;\">\"GetCapabilities\"<\/span><span style=\"color: #000000;\">, [], [[<\/span><span style=\"color: #bf0303;\">\"array\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">]]);<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">sub<\/span> GetCapabilities <span style=\"color: #000000;\">{<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$self<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">return<\/span> <span style=\"color: #000000;\">[<\/span><span style=\"color: #bf0303;\">\"actions\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"body\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"body-hyperlinks\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"body-markup\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"icon-static\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"persistence\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"action-icons\"<\/span><span style=\"color: #000000;\">];<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\ndbus_method<span style=\"color: #000000;\">(<\/span><span style=\"color: #bf0303;\">\"GetServerInformation\"<\/span><span style=\"color: #000000;\">, [], [<\/span><span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"string\"<\/span><span style=\"color: #000000;\">]);<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">sub<\/span> GetServerInformation <span style=\"color: #000000;\">{<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$self<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #000000; font-weight: bold;\">shift<\/span><span style=\"color: #000000;\">;<\/span>\r\n    <span style=\"color: #000000; font-weight: bold;\">return<\/span> <span style=\"color: #000000;\">[<\/span><span style=\"color: #bf0303;\">\"Notification Daemon\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"Ydesk\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"1.0\"<\/span><span style=\"color: #000000;\">,<\/span> <span style=\"color: #bf0303;\">\"1.2\"<\/span><span style=\"color: #000000;\">];<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\n<span style=\"color: #000000; font-weight: bold;\">package<\/span> main<span style=\"color: #000000;\">;<\/span>\r\n\r\n<span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$bus<\/span> <span style=\"color: #000000;\">=<\/span> Net<span style=\"color: #000000;\">::<\/span>DBus<span style=\"color: #000000;\">-&gt;<\/span><span style=\"color: #010181;\">session<\/span><span style=\"color: #000000;\">();<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$service<\/span> <span style=\"color: #000000;\">=<\/span> <span style=\"color: #0057ae;\">$bus<\/span><span style=\"color: #000000;\">-&gt;<\/span><span style=\"color: #010181;\">export_service<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #bf0303;\">\"org.freedesktop.Notifications\"<\/span><span style=\"color: #000000;\">);<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">my<\/span> <span style=\"color: #0057ae;\">$object<\/span> <span style=\"color: #000000;\">=<\/span> Notifications<span style=\"color: #000000;\">-&gt;<\/span><span style=\"color: #010181;\">new<\/span><span style=\"color: #000000;\">(<\/span><span style=\"color: #0057ae;\">$service<\/span><span style=\"color: #000000;\">);<\/span>\r\n\r\nNet<span style=\"color: #000000;\">::<\/span>DBus<span style=\"color: #000000;\">::<\/span>Reactor<span style=\"color: #000000;\">-&gt;<\/span><span style=\"color: #010181;\">main<\/span><span style=\"color: #000000;\">-&gt;<\/span><span style=\"color: #010181;\">run<\/span><span style=\"color: #000000;\">();<\/span>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442 \u043e\u0442\u043f\u0443\u0441\u043a \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u042f &#8211; \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439, \u043f\u043e\u0442\u043e\u043c\u0443 \u0438 \u043e\u0442\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0432\u043e\u0436\u0443 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u041e\u0434\u043d\u0430 \u0438\u0437 \u043d\u0435\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u043e\u0442\u043f\u0443\u0441\u043a\u0430 &#8211; \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\u00a0\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439\u00a0\u043d\u0430 perl-\u0435.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[2,3],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-desktop","tag-perl","tag-yad"],"_links":{"self":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":3,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/10\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}