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.1 by root, Fri Oct 25 23:09:45 2013 UTC vs.
Revision 1.2 by root, Sat Oct 26 10:41:12 2013 UTC

168These CBOR values become C<CBOR::XS::true> and C<CBOR::XS::false>, 168These CBOR values become C<CBOR::XS::true> and C<CBOR::XS::false>,
169respectively. They are overloaded to act almost exactly like the numbers 169respectively. They are overloaded to act almost exactly like the numbers
170C<1> and C<0>. You can check whether a scalar is a CBOR boolean by using 170C<1> and C<0>. You can check whether a scalar is a CBOR boolean by using
171the C<CBOR::XS::is_bool> function. 171the C<CBOR::XS::is_bool> function.
172 172
173=item null 173=item Null, Undefined
174 174
175A CBOR Null value becomes C<undef> in Perl. 175CBOR Null and Undefined values becomes C<undef> in Perl (in the future,
176Undefined may raise an exception).
176 177
177=back 178=back
178 179
179 180
180=head2 PERL -> CBOR 181=head2 PERL -> CBOR

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines