devel/p5-B-Debug 1.26 DragonFly
Walk Perl syntax tree, printing debug info about ops
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 12.1 KiB, 29.6 KiB installed
Description
Walk Perl syntax tree, printing debug info about ops
Without actually executing a Perl 5 program, you can walk its optree:
$ cat hello.pl
print "Hello world!\\n";
$ perl -MO=Debug hello.pl
hello.pl syntax OK
LISTOP (0x55d1520414f8)
op\_ppaddr 0x55d1520414f8 LISTOP \[OP\_LEAVE\]
op\_next 0x0
op\_sibling 0x0
op\_targ 1
...
OP (0x55d1520414c8)
op\_ppaddr 0x55d1520414c8 OP \[OP\_ENTER\]
op\_next 0x55d152041538 COP \[OP\_NEXTSTATE\]
op\_sibling 0x55d152041538 COP \[OP\_NEXTSTATE\]
op\_targ 0
...
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-B-Debug | 1.26 |
| FreeBSD | devel/p5-B-Debug | 1.26 |
| OpenBSD | devel/p5-B-Debug | 1.26 |
| NetBSD | devel/p5-B-Debug | 1.26nb7 |
| HardenedBSD | devel/p5-B-Debug | 1.26 |
| GhostBSD | devel/p5-B-Debug | 1.26 |
Install
Binary package:
pkg install p5-B-Debug
From DPorts:
cd /usr/dports/devel/p5-B-Debug && make install clean
Dependencies
Run dependencies 1
No port depends on this one.