Help for this page
perl -Mstrict -Mwarnings -le ' sub tab { ... $s{TYPE} = $1 if ( m/^\s*(\S+)\s*\{/imsx ); $s{$1} = $2 if ( m/^\s+([^=]+)=(.+)$/imsx ); '
%s = ( 'TYPE' => 'hoststatus', ... 'host_name' => 'AAA1', 'plugin_output' => 'eth0:UP, eth2:UP, eth3:UP, eth1:UP:4 UP: OK +' );