DECODE_FLAGS(1) User Contributed Perl Documentation DECODE_FLAGS(1)NAMEdecode_flags.pl - decode the flags in Nagios/Object.pm
DESCRIPTION
The flags in Nagios/Object.pm are currently encoded into a single
integer by setting its individual bits. Usually, I'd just use
individual flags for each of them, but it was getting to be too many to
manage. This is actually pretty easy to handle once you get used to
it and very common in C programming.
SYNOPSISdecode_flags.pl 42
decode_flags.pl NAGIOS_V2 NO_INHERIT
perl v5.20.2 2015-08-30 DECODE_FLAGS(1)