Thread Funktion von pack()
(3 answers)
Opened by pearl-man at 2005-07-25 20:22
Integer kannst du mit sprintf("%b", 123) binär darstellen.
Oder du versuchst es so: Code: (dl
)
print unpack("B*", pack("n", 123)); Gruß, Erik!
s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>); $_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;} It's not a bug, it's a feature! - [CGI-World.de] |