Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Unpack mysql binary column data

by igelkott (Priest)
on Apr 22, 2013 at 23:18 UTC ( [id://1029998] : note . print w/replies, xml ) Need Help??

in reply to Unpack mysql binary column data

right results for smaller numbers

Getting right results till about 255? If so, check the discussion on "endian" in pack. Briefly, look at the < or > modifiers. Integers should be easy to deal with but floats can be problematic.