Devel:...errupt(3pm)

πŸ“¦
version 1.003029 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Devel::REPL::Plugin::Interrupt β€” bestie, this is the perl plugin that traps SIGINT so it can kill long-running lines πŸ’… (it's a 3pm page, aka user-contributed Perl documentation, in case you were wondering where you wandered into 🫢)


🌸 VERSION 🌸

version 1.003029 β€” that's the one, that's the vibe ✨


πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜•

By default, Devel::REPL exits on SIGINT (which is usually what you get when you smash Ctrl-C, no cap). That's the out-of-the-box behaviour, and it's giving "well, bye then" 😭

But!! if you load this module, everything changes. SIGINT gets trapped, and instead of nuking your whole session it's used to:

  • kill long-running commands (statements) πŸ”₯
  • kill the line you're currently editing (like, eg. BASH does β€” she does it, so we do it πŸ’…)

And because I know you're about to ask: yes, you can still use Ctrl-D to exit. That door is always open, bestie πŸšͺ✨


πŸ¦‹ SUPPORT πŸ¦‹

Got bugs? Don't suffer in silence, submit them through the RT bug tracker:

https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL

or straight up email them to bug-Devel-REPL@rt.cpan.org πŸ“§

There's also an irc channel for users of this distribution β€” it's #devel on irc.perl.org, and the direct link is:

irc://irc.perl.org/#devel-repl

come hang out, iykyk 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Shawn M Moore, "sartak at gmail dot com" β€” iconic behaviour, we love to see it ✨


This software is copyright (c) 2007 by Matt S Trout β€” that's mst (at) shadowcatsystems.co.uk, and their site lives at http://www.shadowcatsystems.co.uk/ πŸ’œ

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, go wild 🌈


and that's the whole page, no notes πŸ’…

this little love letter is from perl v5.34.0, dated 2022-06-03, and it's the Devel:...errupt(3pm) page 🧚 stay interrupting, bestie πŸ’–

πŸ“¦ where this page comes from