in reply to Re^2: How to parse SNMP traps from pcap file
in thread How to parse SNMP traps from pcap file

The UDP packet payload is available as binary data:

my $payload = $f->ref->{UDP}->payload;