<
5D6D
script type="application/json" data-target="react-app.embeddedData">{"payload":{"allShortcutsEnabled":false,"path":"perl","repo":{"id":12352993,"defaultBranch":"master","name":"rabbitmq-tutorials","ownerLogin":"keithelder","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2013-08-25T02:24:53.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/33124?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"master","listCacheKey":"v0:1618687432.1258602","canEdit":false,"refType":"branch","currentOid":"ec652bf9c6b039c6f29f71bda5250ec3c777e16c"},"tree":{"items":[{"name":"README.md","path":"perl/README.md","contentType":"file"},{"name":"emit_log.pl","path":"perl/emit_log.pl","contentType":"file"},{"name":"emit_log_direct.pl","path":"perl/emit_log_direct.pl","contentType":"file"},{"name":"emit_log_topic.pl","path":"perl/emit_log_topic.pl","contentType":"file"},{"name":"new_task.pl","path":"perl/new_task.pl","contentType":"file"},{"name":"receive.pl","path":"perl/receive.pl","contentType":"file"},{"name":"receive_logs.pl","path":"perl/receive_logs.pl","contentType":"file"},{"name":"receive_logs_direct.pl","path":"perl/receive_logs_direct.pl","contentType":"file"},{"name":"receive_logs_topic.pl","path":"perl/receive_logs_topic.pl","contentType":"file"},{"name":"rpc_client.pl","path":"perl/rpc_client.pl","contentType":"file"},{"name":"rpc_server.pl","path":"perl/rpc_server.pl","contentType":"file"},{"name":"send.pl","path":"perl/send.pl","contentType":"file"},{"name":"worker.pl","path":"perl/worker.pl","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003ePerl code for RabbitMQ tutorials\u003c/h1\u003e\u003ca id=\"user-content-perl-code-for-rabbitmq-tutorials\" class=\"anchor\" aria-label=\"Permalink: Perl code for RabbitMQ tutorials\" href=\"#perl-code-for-rabbitmq-tutorials\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eHere you can find Perl code examples from \u003ca href=\"http://www.rabbitmq.com/getstarted.html\" rel=\"nofollow\"\u003eRabbitMQ\ntutorials\u003c/a\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eTo successfully use the examples you will need a running RabbitMQ server.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRequirements\u003c/h2\u003e\u003ca id=\"user-content-requirements\" class=\"anchor\" aria-label=\"Permalink: Requirements\" href=\"#requirements\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eTo run this code you need to install Net::RabbitFoot.\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"cpan -i Net::RabbitFoot\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ecpan -i Net::RabbitFoot\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eFor tutorial six UUID::Tiny needs to be installed.\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"cpan -i UUID::Tiny\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ecpan -i UUID::Tiny\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eOn Ubuntu:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"sudo apt-get install make libclass-data-inheritable-perl libtest-deep-perl libmoosex-app-cmd-perl libcoro-perl libjson-xs-perl libxml-libxml-perl libconfig-any-perl libmoosex-attributehelpers-perl libmoosex-configfromfile-perl libtest-exception-perl libfile-sharedir-perl libreadonly-xs-perl libuuid-tiny-perl\nsudo cpan -i Net::RabbitFoot\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003esudo apt-get install make libclass-data-inheritable-perl libtest-deep-perl libmoosex-app-cmd-perl libcoro-perl libjson-xs-perl libxml-libxml-perl libconfig-any-perl libmoosex-attributehelpers-perl libmoosex-configfromfile-perl libtest-exception-perl libfile-sharedir-perl libreadonly-xs-perl libuuid-tiny-perl\nsudo cpan -i Net::RabbitFoot\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCode\u003c/h2\u003e\u003ca id=\"user-content-code\" class=\"anchor\" aria-label=\"Permalink: Code\" href=\"#code\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"http://www.rabbitmq.com/tutorial-one-python.html\" rel=\"nofollow\"\u003eTutorial one: \"Hello World!\"\u003c/a\u003e:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"perl send.pl\nperl receive.pl\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eperl send.pl\nperl receive.pl\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"http://www.rabbitmq.com/tutorial-two-python.html\" rel=\"nofollow\"\u003eTutorial two: Work Queues\u003c/a\u003e:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"perl new_task.pl \u0026quot;A very hard task which takes two seconds..\u0026quot;\nperl worker.pl\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eperl new_task.pl \"A very hard task which takes two seconds..\"\nperl worker.pl\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"http://www.rabbitmq.com/tutorial-three-python.html\" rel=\"nofollow\"\u003eTutorial three: Publish/Subscribe\u003c/a\u003e:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"perl receive_logs.pl\nperl emit_log.pl \u0026quot;info: This is the log message\u0026quot;\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eperl receive_logs.pl\nperl emit_log.pl \"info: This is the log message\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"http://www.rabbitmq.com/tutorial-four-python.html\" rel=\"nofollow\"\u003eTutorial four: Routing\u003c/a\u003e:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"perl receive_logs_direct.pl info\nperl emit_log_direct.pl info \u0026quot;The message\u0026quot;\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eperl receive_logs_direct.pl info\nperl emit_log_direct.pl info \"The message\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"http://www.rabbitmq.com/tutorial-five-python.html\" rel=\"nofollow\"\u003eTutorial five: Topics\u003c/a\u003e:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"perl receive_logs_topic.pl \u0026quot;*.rabbit\u0026quot;\nperl emit_log_topic.pl red.rabbit Hello\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eperl receive_logs_topic.pl \"*.rabbit\"\nperl emit_log_topic.pl red.rabbit Hello\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"http://www.rabbitmq.com/tutorial-six-python.html\" rel=\"nofollow\"\u003eTutorial six: RPC\u003c/a\u003e:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"perl rpc_server.pl\nperl rpc_client.pl\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eperl rpc_server.pl\nperl rpc_client.pl\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"Perl code for RabbitMQ tutorials","anchor":"perl-code-for-rabbitmq-tutorials","htmlText":"Perl code for RabbitMQ tutorials"},{"level":2,"text":"Requirements","anchor":"requirements","htmlText":"Requirements"},{"level":2,"text":"Code","anchor":"code","htmlText":"Code"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fkeithelder%2Frabbitmq-tutorials%2Ftree%2Fmaster%2Fperl"}},"totalCount":13,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":"bin","path":"bin","contentType":"directory"},{"name":"clojure","path":"clojure","contentType":"directory"},{"name":"dotnet","path":"dotnet","contentType":"directory"},{"name":"erlang","path":"erlang","contentType":"directory"},{"name":"java","path":"java","contentType":"directory"},{"name":"javascript-nodejs","path":"javascript-nodejs","contentType":"directory"},{"name":"perl","path":"perl","contentType":"directory"},{"name":"php","path":"php","contentType":"directory"},{"name":"python-puka","path":"python-puka","contentType":"directory"},{"name":"python","path":"python","contentType":"directory"},{"name":"ruby-amqp","path":"ruby-amqp","contentType":"directory"},{"name":"ruby","path":"ruby","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"Makefile","path":"Makefile","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"test.py","path":"test.py","contentType":"file"},{"name":"travisci.py","path":"travisci.py","contentType":"file"}],"totalCount":18}},"fileTreeProcessingTime":6.4130009999999995,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/keithelder/rabbitmq-tutorials/branches":{"post":"2nNCeazt0xCXqv_DV2ujVbxrM6a2ud6TjDsLOfS_o6-jlSw203WZUqN4uHPKfPS3_2i6RTtwxqHRYKMTW5ITqQ"},"/keithelder/rabbitmq-tutorials/branches/fetch_and_merge/master":{"post":"ZM1W0-uOqPqKgFFfi-Jvcck4DhAo60C0H0LisCki7Y0pxBKQZED0XNQHBvF-LLMkfvkWxef8yj_ZY9lFDdfNIA"},"/keithelder/rabbitmq-tutorials/branches/fetch_and_merge/master?discard_changes=true":{"post":"QjH7BGWwu6dGrajNzUgo9DhDxvXgVO87LcXjq1UwdSUPOL9H6n7nARgq_2M4hvShj4LeIC9DZbDr5NheccVViA"}}},"title":"rabbitmq-tutorials/perl at master · keithelder/rabbitmq-tutorials","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
You can’t perform that action at this time.