B::Debug - Walk Perl syntax tree, printing debug info about ops
| Use Case | Command | Description |
|---|---|---|
| 🔍 Debug Perl op tree (basic order) | perl -MO=Debug foo.pl | Walk Perl syntax tree, print debug info about ops |
| 🔍 Debug Perl op tree (execute order) | perl -MO=Debug,-exec foo.pl | Walk tree in execution order instead of basic order |
perl -MO=Debug foo.pl
perl -MO=Debug,-exec foo.pl
See ext/B/README and the newer B::Concise.
-exec — walks tree in execute order, otherwise in basic order.Malcolm Beattie, "retired" Reini Urban "rurban AT cpan.org"
Copyright (c) 1996, 1997 Malcolm Beattie Copyright (c) 2008, 2010, 2013, 2014 Reini Urban
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.
perl v5.30.0 2020-02-26 Debug(3pm)
Generated by phpman v4.9.26-1-g511901d Author: Che Dong Under GNU General Public License
2026-08-09 09:52 @2600:1f28:365:80b0:50b3:453e:ff52:20f7
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format