gbarr/perl-Convert-ASN1

Doc clarification needed

Opened this issue · 0 comments

The "Exceptions" paragraph describing the ASN.1 syntax that's accepted by Convert::ASN1 reads:

There are some exceptions where Convert::ASN1 does not require an element to be named. These are SEQUENCE {...}, SET {...} and CHOICE. In each case if the element is not given a name then the elements inside the {...} will share the same namespace as the elements outside of the {...}.

I couldn't figure out what this means, nor could I find an example or a test in the distribution that matches this description.

And I couldn't create one, though I got a lot of syntax errors trying.

An example of omitting names and the resulting Perl would be appreciated.

As would a testcase. (And if perchance this is broken...perhaps a different change :-)

Thanks!