7 Several utilities used in other modules
26 Turn a numeric list into a hex string
30 my @return = map {sprintf("%02X", $_)} @_;
32 return @return if wantarray;
33 return join '', @return;
36 =head2 addprefix( $prefix, @list )
38 Takes a prefix, and a list of strings, and
39 adds the prefix to each element in the list
43 my ($prefix, @list) = @_;
45 sprintf("%s%02X", $prefix, $_)
48 return @return if wantarray;
49 die "Don't know what to do in scalar context.";