in reply to Re: Convert stack-based code to "conventional" (was Re: Graphing SQLite's VDBE)in thread Graphing SQLite's VDBE
my ($operand, $prec) = map { $_->[0], $_->[1] } pop @stack; [download]
It seems to do what you want.
Cheers,
JohnGG