… | |
… | |
289 | use Exporter qw(import); |
289 | use Exporter qw(import); |
290 | |
290 | |
291 | our $VERSION; |
291 | our $VERSION; |
292 | |
292 | |
293 | BEGIN { |
293 | BEGIN { |
294 | $VERSION = 0.7; |
294 | $VERSION = 0.8; |
295 | XSLoader::load __PACKAGE__, $VERSION; |
295 | XSLoader::load __PACKAGE__, $VERSION; |
296 | } |
296 | } |
297 | |
297 | |
298 | our %EXPORT_TAGS = ( |
298 | our %EXPORT_TAGS = ( |
299 | const => [qw( |
299 | const => [qw( |
… | |
… | |
471 | =item C<BER_TYPE_CROAK> |
471 | =item C<BER_TYPE_CROAK> |
472 | |
472 | |
473 | Always croaks when encountered during encoding or decoding - the |
473 | Always croaks when encountered during encoding or decoding - the |
474 | default behaviour when encountering an unknown type is to treat it as |
474 | default behaviour when encountering an unknown type is to treat it as |
475 | C<BER_TYPE_BYTES>. When you don't want that but instead prefer a hard |
475 | C<BER_TYPE_BYTES>. When you don't want that but instead prefer a hard |
476 | error for some types, then CyBER_TYPE_CROAK> is for you. |
476 | error for some types, then C<BER_TYPE_CROAK> is for you. |
477 | |
477 | |
478 | =back |
478 | =back |
479 | |
479 | |
480 | =cut |
480 | =cut |
481 | |
481 | |
… | |
… | |
496 | =head2 LIMITATIONS |
496 | =head2 LIMITATIONS |
497 | |
497 | |
498 | This module can only en-/decode 64 bit signed and unsigned integers, and |
498 | This module can only en-/decode 64 bit signed and unsigned integers, and |
499 | only when your perl supports those. |
499 | only when your perl supports those. |
500 | |
500 | |
501 | OBJECT IDENTIFIEERS cannot have unlimited length, although the limit is |
501 | OBJECT IDENTIFIEERs cannot have unlimited length, although the limit is |
502 | much larger than e.g. the one imposed by SNMP or other protocols. |
502 | much larger than e.g. the one imposed by SNMP or other protocols. |
503 | |
503 | |
504 | REAL values are not supported and will croak. |
504 | REAL values are not supported and will croak. |
505 | |
505 | |
506 | This module has undergone little to no testing so far. |
506 | This module has undergone little to no testing so far. |
|
|
507 | |
|
|
508 | =head2 ITHREADS SUPPORT |
|
|
509 | |
|
|
510 | This module is unlikely to work when the (officially discouraged) ithreads |
|
|
511 | are in use. |
507 | |
512 | |
508 | =head1 AUTHOR |
513 | =head1 AUTHOR |
509 | |
514 | |
510 | Marc Lehmann <schmorp@schmorp.de> |
515 | Marc Lehmann <schmorp@schmorp.de> |
511 | http://software.schmorp.de/pkg/Convert-BER-XS |
516 | http://software.schmorp.de/pkg/Convert-BER-XS |