Thread Datei kopieren (26 answers)
Opened by anti at 2004-01-07 22:16

Dubu
 2004-01-12 00:34
#78585 #78585
User since
2003-08-04
2145 Artikel
ModeratorIn + EditorIn

user image
[quote=esskar,11.01.2004, 17:44]
Code: (dl )
1
2
3
4
5
6
7
my $hexcode = "52 49 46 46 f8 e9 08 00 41 ... ";

for(my $i = 0; $i < length($hexcode); $i += 3)
{
   print OUT chr(hex(substr($hexcode, $i, 2)));
}
...
[/quote]
Code: (dl )
print OUT map { chr hex } split " ", $hexcode;

;)

View full thread Datei kopieren