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 named Artistic and Copying bestie 🫢

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