Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: How do I test if a bit has been set in a bitstring

by jwkrahn (Monsignor)
on Apr 25, 2013 at 03:40 UTC ( #1030572=note: print w/ replies, xml ) Need Help??


in reply to Re: How do I test if a bit has been set in a bitstring
in thread How do I test if a bit has been set in a bitstring

my ($flags) = $filename =~ / \. (\d+) $ /x;

That won't work correctly because it doesn't match the hexadecimal digits A, B, C, D, E and F.


Comment on Re^2: How do I test if a bit has been set in a bitstring
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2014-07-29 15:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (220 votes), past polls