Duncan Ferguson > Nagios-Object > decode_flags.pl

Download:
Nagios-Object-0.21.20.tar.gz

Annotate this POD

Website

CPAN RT

New  5
Open  1
Stalled  1
View/Report Bugs
Source  

NAME ^

decode_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.

SYNOPSIS ^

 decode_flags.pl 42
 decode_flags.pl NAGIOS_V2 NO_INHERIT
syntax highlighting: