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.
In reply to Re^2: How do I test if a bit has been set in a bitstring
by jwkrahn
in thread How do I test if a bit has been set in a bitstring
by willk1980
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |