Some other ideas: you can essentially use an offset with unpack by using a "skip a byte" code with a multiplier. That would be far easier than using ord arithmetic and substr. How about (untested)
—Johnmy ($col, $row)= unpack ("x18 v2", $temp);
In reply to Re: Table Pictures
by John M. Dlugosz
in thread Table Pictures
by fenonn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |