Where V/v are a long/short in "VAX" (little-endian) order. As I've already unpacked the data, there isn't a need to redo the unpack commands in the subroutine - just pass the low_long and high_long as is into the sub. There is one problem: the data in the binary file starts at 00:00:00 and ends at 23:40:40 for 1-1-2003. Printing out the output from the sub produces 11:00:00 through to 23:40:40 and _then_ 00:00:00 through to 10:59:40 for 2-1-2003! Regards, Stacy.my $template="V2 v12";
In reply to Re: Re: Re: Unpack for VMS binary files
by maderman
in thread Unpack for VMS binary files
by maderman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |