Subject: | Convert::ASN1->prepare_file() always parse different data on same file... |
I made a test perl script just to load an ASN.1 spec file using $asn->prepare_file()
then i execute $asn->dump just to see the compiled tree as parsed by Convert::ASN1...
The weird thing is that everytime I run the script, it returns different parsed data!!??... once in a while after running it several times, it returns the whole parsed tree...
I found out this while trying to debug my script with real data... it seems almost random.
I thought it could be perl/MacOS X related... but then I transfered the script and asn1 file to a Linux (Fedora Core 2) machine, and the problem persisted.
I included the script and asn1 file, to test just run:
perl asn1filter.pl -s DP6.asn1 -D
the output will be from $asn->dump after doing a $asn->prepare_file() from the file specified on the -s switch.
My information:
Convert::ASN1 version 0.18
uname -a
Darwin rcnavas-powerbook.local 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug 5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC Power Macintosh powerpc
perl -v
This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
Thanks in advance for any insight...
Message body not shown because it is not plain text.