DX Unified Infrastructure Management

  • 1.  Perl - HowTo get all elements in alarm -> udata -> values?

    Posted Jun 04, 2018 11:14 AM

    Hi devs,

     

    I tried to get all elements from an incoming alarm bus message.

    Using $full and $udata is quiet easy. But how to get all elements from the nested values PDS object?

     

    Any help is welcome.

     

    Thanks and kind regards,



  • 2.  Re: Perl - HowTo get all elements in alarm -> udata -> values?
    Best Answer

    Posted Jun 04, 2018 03:53 PM

    In another thread I found the solultion posted by keith_k.

    my $u_data = Nimbus:PDS->new($udata)->asHash();

     

    Thanks