ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CBOR-XS/XS.pm
(Generate patch)

Comparing CBOR-XS/XS.pm (file contents):
Revision 1.89 by root, Fri Sep 8 20:03:06 2023 UTC vs.
Revision 1.90 by root, Sat Nov 18 18:19:57 2023 UTC

446 &{ $my_filter{$_[0]} or return } 446 &{ $my_filter{$_[0]} or return }
447 }); 447 });
448 448
449 449
450Example: use the safe filter function (see L<SECURITY CONSIDERATIONS> for 450Example: use the safe filter function (see L<SECURITY CONSIDERATIONS> for
451more considerations on security). 451more considerations regarding security).
452 452
453 CBOR::XS->new->filter (\&CBOR::XS::safe_filter)->decode ($cbor_data); 453 CBOR::XS->new->filter (\&CBOR::XS::safe_filter)->decode ($cbor_data);
454 454
455=item $cbor_data = $cbor->encode ($perl_scalar) 455=item $cbor_data = $cbor->encode ($perl_scalar)
456 456

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines