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

Comparing Convert-Scalar/Scalar.pm (file contents):
Revision 1.15 by root, Mon Feb 3 03:32:13 2014 UTC vs.
Revision 1.16 by root, Thu Jun 25 14:04:32 2015 UTC

24=cut 24=cut
25 25
26package Convert::Scalar; 26package Convert::Scalar;
27 27
28BEGIN { 28BEGIN {
29 $VERSION = '1.1'; 29 $VERSION = 1.11;
30 @ISA = qw(Exporter); 30 @ISA = qw(Exporter);
31 @EXPORT_OK = qw(readonly readonly_on readonly_off weaken unmagic len grow extend); 31 @EXPORT_OK = qw(readonly readonly_on readonly_off weaken unmagic len grow extend);
32 %EXPORT_TAGS = ( 32 %EXPORT_TAGS = (
33 taint => [qw(taint untaint tainted)], 33 taint => [qw(taint untaint tainted)],
34 utf8 => [qw(utf8 utf8_on utf8_off utf8_valid utf8_upgrade utf8_downgrade utf8_encode utf8_decode utf8_length)], 34 utf8 => [qw(utf8 utf8_on utf8_off utf8_valid utf8_upgrade utf8_downgrade utf8_encode utf8_decode utf8_length)],
173use this module in this case. 173use this module in this case.
174 174
175=item refcnt_rv scalar[, newrefcnt] 175=item refcnt_rv scalar[, newrefcnt]
176 176
177Works like C<refcnt>, but dereferences the given reference first. This is 177Works like C<refcnt>, but dereferences the given reference first. This is
178useful to find the reference count of arrays or hashes, which cnanot be 178useful to find the reference count of arrays or hashes, which cannot be
179passed directly. Remember that taking a reference of some object increases 179passed directly. Remember that taking a reference of some object increases
180it's reference count, so the reference count used by the C<*_rv>-functions 180it's reference count, so the reference count used by the C<*_rv>-functions
181tend to be one higher. 181tend to be one higher.
182 182
183=item refcnt_inc_rv scalar 183=item refcnt_inc_rv scalar

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines