DX Infrastructure Manager

Expand all | Collapse all

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

Jump to Best Answer
  • 1.  Perl - HowTo get all elements in alarm -> udata -> values?

    Posted 06-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 06-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