Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Using pack to evaluate text strings as hexadecimal values

by ikegami (Pope)
on Mar 07, 2006 at 14:47 UTC ( #534931=note: print w/ replies, xml ) Need Help??


in reply to Using pack to evaluate text strings as hexadecimal values

In addition to using hex instead of pack,
you need to change
if($value && $MSG_FLAG_READ) {
into
if($value & $MSG_FLAG_READ) {

perlop


Comment on Re: Using pack to evaluate text strings as hexadecimal values
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2015-07-28 23:30 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 (260 votes), past polls