in reply to Re: DBI converting hex values
in thread DBI converting hex values

From Saints in our Book: "..and remember there are a lot of things monks are supposed to be but lazy is not one of them" :-)
perl -le ' print "0x",unpack "H*",pack "A*","Paul"' 0x5061756c

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Replies are listed 'Best First'.
Re^3: DBI converting hex values (lazy)
by tye (Sage) on Nov 02, 2006 at 18:54 UTC

    You might want to be more lazy and skip the pack "A*". (:

    - tye        

      Darn, you're right... do { print ((my $hubris = $hubris) >>= 1)} for $this_one :-)

      --shmem