good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Hex return needs to be unpacked?by Ryszard (Priest) |
on Mar 03, 2002 at 06:52 UTC ( [id://148952]=note: print w/replies, xml ) | Need Help?? |
You have a conflicting statement here. If $response is a hex value, then, by definition you're query cant have returned a null (or rather undef), unless there is some default thing in the pm.
print pack("H*", $response); I think is the answer to your question.
In Section
Seekers of Perl Wisdom
|
|