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