Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: DBI converting hex values

by shmem (Canon)
on Nov 02, 2006 at 18:52 UTC ( #581945=note: print w/ replies, xml ) Need Help??

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


_($_=" "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}
Comment on Re^2: DBI converting hex values
Download Code
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 :-)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://581945]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2016-05-26 15:54 GMT
Find Nodes?
    Voting Booth?