sub calc_tosprecedence{ use integer; return ( $_[0] & 0xff ) >> 5; } [download]
In reply to Re: calculating the 3 MSBs from an integer by borisz in thread calculating the 3 MSBs from an integer by insaniac