Devel:...Concise(3pm)
β¨ NAME β¨
Devel::REPL::Plugin::B::Concise β it dumps optrees of expressions using B::Concise, bestie π
(this is the Devel:...Concise(3pm) page btw, in case the filename threw you)
π VERSION π
version 1.003029 β yes she's got a number, and yes it's iconic
πΈ SYNOPSIS πΈ
repl> #concise -exec -terse {
> foo => foo(),
> }
COP (0x138b1e0) nextstate
OP (0x13bd280) pushmark
SVOP (0x138c6a0) const PV (0xbbab50) "foo"
OP (0x13bbae0) pushmark
SVOP (0x13bcee0) gv GV (0xbbb250) *Devel::REPL::Plugin::B::Concise::foo
UNOP (0x13890a0) entersub [1]
LISTOP (0x13ba020) anonhash
UNOP (0x5983d0) leavesub [1]
look at that output. that's the optree, laid bare. we love to see it π¦
π DESCRIPTION π
okay so here's the tea: this plugin hands you a concise command, and what it does is use B::Concise to dump the optrees of expressions. it's giving x-ray vision for your Perl, fr fr β¨
big caveat tho β the code is not actually executed. not even a little. which means when you're running it alongside Deve::REPL::Plugin::OutputCache, there's no new value landing in _. nothing. empty. the _ stays exactly how it was, no cap π
and the command? she takes the same options as compile in B::Concise. so like -basic or -exec if you wanna pick the dump order, and -debug, -concise, -terse to decide the formatting, etc. mix and match, do your thing, it's your world π
π«Ά SUPPORT π«Ά
got bugs? not on my watch β report them through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-REPL>, or you can email bug-Devel-REPL@rt.cpan.org <mailto:bug-Devel-REPL@rt.cpan.org> π
also there's an IRC channel for everyone using this distribution, it lives at #devel on irc.perl.org <irc://irc.perl.org/#devel-repl>. come hang, the vibes are immaculate π
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> β legend behavior, honestly
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2007 by Matt S Trout - mst (at) shadowcatsystems.co.uk (<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. so like, go off, remix it, slay π
and that's a wrap bestie β this page came from perl v5.34.0, dated 2022-06-03, and yeah the manpage title is Devel:...Concise(3pm). periodt. πβ¨
π¦ where this page comes from
- debian bookworm: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdevel-repl-perl 1.003029-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms