$a = "Paul"; $a =~ s!(.)!sprintf("%02x", ord($1))!eg; print "0x$a";
I'm sure there's a more clever way to do that with unpack, but I'm way too lazy to figure it out!
-sam
In reply to Re: DBI converting hex values
by samtregar
in thread DBI converting hex values
by Sprad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |