Rashed Abdel-Tawab | 4db47f4 | 2019-09-06 10:38:22 -0700 | [diff] [blame^] | 1 | package bytes; |
| 2 | |
| 3 | our $VERSION = '1.05'; |
| 4 | |
| 5 | $bytes::hint_bits = 0x00000008; |
| 6 | |
| 7 | sub import { |
| 8 | $^H |= $bytes::hint_bits; |
| 9 | } |
| 10 | |
| 11 | sub unimport { |
| 12 | $^H &= ~$bytes::hint_bits; |
| 13 | } |
| 14 | |
| 15 | sub AUTOLOAD { |
| 16 | require "bytes_heavy.pl"; |
| 17 | goto &$AUTOLOAD if defined &$AUTOLOAD; |
| 18 | require Carp; |
| 19 | Carp::croak("Undefined subroutine $AUTOLOAD called"); |
| 20 | } |
| 21 | |
| 22 | sub length (_); |
| 23 | sub chr (_); |
| 24 | sub ord (_); |
| 25 | sub substr ($$;$$); |
| 26 | sub index ($$;$); |
| 27 | sub rindex ($$;$); |
| 28 | |
| 29 | 1; |
| 30 | __END__ |
| 31 | |