Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030572]
help
Chatterbox?
and a soft breeze sighs...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2017-02-28 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (399 votes). Check out past polls.