{"id":13862615,"url":"https://github.com/vividsnow/perl-live","last_synced_at":"2026-03-06T21:31:25.520Z","repository":{"id":8407198,"uuid":"9990561","full_name":"vividsnow/perl-live","owner":"vividsnow","description":"perl live coding","archived":false,"fork":false,"pushed_at":"2025-02-05T15:24:49.000Z","size":32,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-23T18:04:42.113Z","etag":null,"topics":["emacs","emacs-lisp","livecoding","perl","perl5"],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vividsnow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-05-10T21:16:44.000Z","updated_at":"2025-02-05T15:24:54.000Z","dependencies_parsed_at":"2024-08-05T06:05:33.986Z","dependency_job_id":"b057b3b3-1716-4cce-a378-fadea4f9931a","html_url":"https://github.com/vividsnow/perl-live","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vividsnow/perl-live","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vividsnow%2Fperl-live","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vividsnow%2Fperl-live/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vividsnow%2Fperl-live/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vividsnow%2Fperl-live/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vividsnow","download_url":"https://codeload.github.com/vividsnow/perl-live/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vividsnow%2Fperl-live/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30198661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emacs","emacs-lisp","livecoding","perl","perl5"],"created_at":"2024-08-05T06:01:48.629Z","updated_at":"2026-03-06T21:31:25.502Z","avatar_url":"https://github.com/vividsnow.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"# perl live coding\n\n## usage\n\n```lisp\n; put perl-live.el and perl-live.pl in `/path/to/somewhere`\n(add-to-list 'load-path \"/path/to/somewhere\")\n(require 'perl-live)\n```\n\nCreate `cperl-mode` buffer and use these keybindings:\n\n * \"C-c C-l\" - start live perl session\n * \"C-c C-p\" - stop it\n * \"C-c C-c\" - eval current line or region\n * \"C-M-x\" - eval everything between matching braces\n\nOpen `*perl live*` buffer in other frame/window to check output. Also, use `*perl live*` as REPL ([comint-mode](http://www.emacswiki.org/emacs/ComintMode)).\n\nIn order to have persistent variables between evals without magic, declare them using `use vars qw($one @two %three)` or\nuse main package vars like: `$'somevar` or `$::somevar` or create other package on-the-fly.\nModify `perl-live.pl` if you want to preload other modules or predeclare context lexicals using `my/state`.\nBy default `my` declarations at top level are converted to globals. Evaluating of 'use some_pragma' persists.\n\n## customize\n\n```lisp\n(defvar perl-live-bin \"/path/to/perl\") ; path to perl binary - default: \"perl\" or `perlenv-get-perl-path` if `perlenv.el` loaded\n(defvar perl-live-script \"/path/to/perl-live.pl\") ; path to interpreter script - default: \"perl-live.pl\" at same dir where you put perl-live.el\n(defvar perl-live-switches \"/path/to/perl-live.pl\") ; default: \"-g\" - make \"my\" global\n```\n\n## requirements\n\n### perl\n\n * \u003e 5.12 (not tested on earlier versions)\n * [AnyEvent](http://metacpan.org/release/AnyEvent) + optionally [EV](http://metacpan.org/release/EV)\n * [PadWalker](http://metacpan.org/release/PadWalker)\n * [Package::Stash::XS](https://metacpan.org/release/Package-Stash-XS), which requires [Package::Stash](https://metacpan.org/pod/Package::Stash)\n\n### emacs\n\n * [cperl-mode](https://github.com/jrockway/cperl-mode) for predefined keybindings:\n\nsample `cperl-mode` indentation config:\n```lisp\n(setq cperl-close-paren-offset -4 cperl-continued-statement-offset 4\n    cperl-indent-level 4 cperl-indent-parens-as-block t\n    cperl-tabs-always-indent t cperl-indent-subs-specially nil)\n```\n\n### usage without emacs\n\n```bash\n~$ perl perl-live.pl -g # run\n# enter perl code\n# hit Ctrl+D on a new line to evaluate\n#     Ctrl+C to interrupt\n```\n\n----------------\n\n#### elsewhere\n\n * [blog post w/ demo screencast](http://blogs.perl.org/users/egor/2013/05/perl-live-coding.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvividsnow%2Fperl-live","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvividsnow%2Fperl-live","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvividsnow%2Fperl-live/lists"}