Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 wandering the Monastery: (5)
As of 2014-11-22 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (118 votes), past polls