« /usr/local/lib/perl5/5.44.0/JSON/PP/Boolean.pm
↑ Summary
/usr/local/lib/perl5/5.44.0/x86_64-linux/Sub/Util.pm »
| 1 | package utf8 1.29; | ||
| 2 | |||
| 3 | # This file only defines the import/unimport subs, the rest are implemented by | ||
| 4 | # always-present functions in the perl interpreter itself. | ||
| 5 | # See also `universal.c` in the perl source | ||
| 6 | |||
| 7 | 7 | ▶ | use v5.40; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 7 | our $utf8_hint_bits = 0x00800000; | |
| 10 | 7 | our $ascii_hint_bits = 0x00000010; # Turned off when utf8 turned on | |
| 11 | |||
| 12 | 38 | ▶ | sub import { |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 13 | 38 | $^H |= $utf8_hint_bits; | |
| 14 | 38 | $^H &= ~$ascii_hint_bits; | |
| 15 | } | ||
| 16 | |||
| 17 | 0 | ▶ | sub unimport { |
|
Subroutine
unimport: not called CC=1 SCAR=6.9
| |||
| 18 | 0 | $^H &= ~$utf8_hint_bits; | |
| 19 | } | ||
| 20 | |||
| 21 | __END__ | ||