I can't help thinking that I'd be better off using a data structure somehow. Is it possible to unpack directly into a structure and then access the individual elements of the structure?(my $flags, my $x, my $y, my $mode3, my $callsign, my $route, my $spare1, my $spare2, my $flight_level, my $terminator, my $chksum_packet) = unpack ( "B16 n2 A4 A8 A2 A A A3 C2" }, $buffer);
In reply to Data structure for this... by robinbowes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |