Thread
pack/unpack
(8 answers)
Opened by
SuKo
at
2008-01-21 11:37
kristian
2008-01-21 13:43
User since
2005-04-14
684 Artikel
BenutzerIn
Hallo
perldoc -f oct
perldoc -f sprintf
Code: (
dl
)
1
2
3
4
5
perl -wle '
my $bin = "11001111";
my $hex = sprintf "%X", oct("0b$bin");
print $hex;
'
CF
Gruss
Kristian
View full thread
pack/unpack