Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 about the Monastery: (8)
As of 2014-07-28 11:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (196 votes), past polls