if ($attrib & (Win32::File::SYSTEM() | Win32::File::HIDDEN())) { ... }