With the -exec flag, B::Concise gives output closer to your example:
$ perl -MO=Concise,-exec -we'print "Hello, world!\n";'
1 <0> enter
2 <;> nextstate(main 1 -e:1) v
3 <0> pushmark s
4 <$> const[PV "Hello, world!\n"] s
5 <@> print vK
6 <@> leave[1 ref] vKP/REFC
-e syntax OK
by showing execution order rather than the op tree (but no longer shows optimized-away ops and can make branching ops less clear). |