use strict; use warnings; my $in = ; printf "Anzahl Bytes: %d\nOktetten: %02X %02X", length $in, unpack "C*", $in;