unpack long long ( 8 bytes)

[email protected]
Newsgroups perl.beginners
Organization http://groups.google.com
Message-ID <802ba196-2780-4878-8b61-a0179aa7f7de@t54g2000hsg.googlegroups.com>
Hi all ,
How do i unpack long long type which it has 8 bytes .
I tried unpack ("l8",$val)
but I always get 0 or just spaces

When i try unpack("l4",substr($val,4)) - i'm getting the rcorrect
value but for a little numbers .

Please help me , it makes me crazy

Golan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.