… | |
… | |
24 | =cut |
24 | =cut |
25 | |
25 | |
26 | package Convert::Scalar; |
26 | package Convert::Scalar; |
27 | |
27 | |
28 | BEGIN { |
28 | BEGIN { |
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)], |
… | |
… | |
173 | use this module in this case. |
173 | use this module in this case. |
174 | |
174 | |
175 | =item refcnt_rv scalar[, newrefcnt] |
175 | =item refcnt_rv scalar[, newrefcnt] |
176 | |
176 | |
177 | Works like C<refcnt>, but dereferences the given reference first. This is |
177 | Works like C<refcnt>, but dereferences the given reference first. This is |
178 | useful to find the reference count of arrays or hashes, which cnanot be |
178 | useful to find the reference count of arrays or hashes, which cannot be |
179 | passed directly. Remember that taking a reference of some object increases |
179 | passed directly. Remember that taking a reference of some object increases |
180 | it's reference count, so the reference count used by the C<*_rv>-functions |
180 | it's reference count, so the reference count used by the C<*_rv>-functions |
181 | tend to be one higher. |
181 | tend to be one higher. |
182 | |
182 | |
183 | =item refcnt_inc_rv scalar |
183 | =item refcnt_inc_rv scalar |