in reply to Re: Convert stack-based code to "conventional" (was Re: Graphing SQLite's VDBE)
in thread Graphing SQLite's VDBE

How about

my ($operand, $prec) = map { $_->[0], $_->[1] } pop @stack;

It seems to do what you want.

Cheers,

JohnGG

  • Comment on Re^2: Convert stack-based code to "conventional" (was Re: Graphing SQLite's VDBE)
  • Download Code