Debug(3pm)
π B::Debug π
okay bestie, so this is B::Debug, a Perl module that literally walks the Perl syntax tree and prints debug info about ops π¦ it's giving backstage tour of your code's whole vibe, no cap.
It's a Debug(3pm) manual page, and it's here to make your bestie-level Perl internals knowledge go from zero to iconic.
β¨ SYNOPSIS β¨
perl -MO=Debug foo.pl
perl -MO=Debug,-exec foo.pl
yeah that's it, that's the whole thing π
you just slap -MO=Debug on your perl invocation and it does the thing.
πΈ DESCRIPTION πΈ
okay so the actual docs here are short and sweet: go read ext/B/README and also the newer B::Concise π those are the real main characters. This page is lowkey just pointing you at them.
π OPTIONS π
-execβ with this option, the tree gets walked in execute order π« without it, you get basic order. that's the whole tea.
π AUTHOR π
Malcolm Beattie, and the "retired" Reini Urban rurban@cpan.org π«Ά
π LICENSE π
Copyright (c) 1996, 1997 Malcolm Beattie Copyright (c) 2008, 2010, 2013, 2014 Reini Urban
fr fr, here's the legal bit, verbatim vibes:
This program is free software; you can redistribute it and/or modify
it under the terms of either:
a) the GNU General Public License as published by the Free
Software Foundation; either version 1, or (at your option) any
later version, or
b) the "Artistic License" which comes with this kit.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
the GNU General Public License or the Artistic License for more details.
You should have received a copy of the Artistic License with this kit,
in the file named "Artistic". If not, you can get one from the Perl
distribution. You should also have received a copy of the GNU General
Public License, in the file named "Copying". If not, you can get one
from the Perl distribution or else write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
β οΈ not me reminding you to actually read the licenses β no warranty, no promises, it's all in the files namedArtisticandCopyingbestie π«Ά
slay, that's the whole page β¨ this one's from perl v5.36.0, dated 2022-10-16, and it lives in the Debug(3pm) manual β periodt π
π
π¦ where this page comes from
- ubuntu noble: libb-debug-perl 1.26-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libb-debug-perl 1.26-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libb-debug-perl 1.26-3 Β· 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