RE: Binary file and pack... What do I have now ?! Feeling lost...

2004-09-16 Thread Jim
> Yet, I still not find anything on pack can do something like that : > > $binarydata = pack "H*', $ascii_str; > $ascii_str = unpack "H*", $binarydata; I think you have it backwards. You fisrt want to *unpack* your string into Hex, than *pack* it back to ascii using the same template. Remember, a

Binary file and pack... What do I have now ?! Feeling lost...

2004-09-15 Thread Bee
First, I have to say thank you for those buddies that replies my thread on Conceptual question about pack. I just back from from vocation, so say howdy... For pack, I have do some more experiments, and I guess I could gereralize something... but that's quite a terrible founding, very far out of