Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

--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}


Comment on Re^2: DBI converting hex values
Download Code
Re^3: DBI converting hex values (lazy)
by tye (Cardinal) 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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-07-04 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls