| 1 | package rjbs 20211226.000; | ||
| 2 | # ABSTRACT: all the junk that rjbs likes in his one-offs | ||
| 3 | |||
| 4 | use 5.20.0; | ||
| 5 | use feature (); | ||
| 6 | use experimental (); | ||
| 7 | |||
| 8 | |||
| 9 | sub import { | ||
| 10 | strict->import; | ||
| 11 | warnings->import; | ||
| 12 | feature->import(':5.20'); | ||
| 13 | experimental->import(qw( signatures postderef lexical_subs )); | ||
| 14 | |||
| 15 | $] >= 5.022000 && experimental->import(qw( bitwise refaliasing )); | ||
| 16 | $] >= 5.026000 && experimental->import(qw( declared_refs )); | ||
| 17 | } | ||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | __END__ | ||
| 22 | |||
| 23 | =pod | ||
| 24 | |||
| 25 | =encoding UTF-8 | ||
| 26 | |||
| 27 | =head1 NAME | ||
| 28 | |||
| 29 | rjbs - all the junk that rjbs likes in his one-offs | ||
| 30 | |||
| 31 | =head1 VERSION | ||
| 32 | |||
| 33 | version 20211226.000 | ||
| 34 | |||
| 35 | =head1 OVERVIEW | ||
| 36 | |||
| 37 | When you C<use rjbs> you get a whole bunch of other pragmata turned on. It | ||
| 38 | turns on strict, warnings, all the v5.20 features, signatures, postfix | ||
| 39 | dereferencing, lexical subs, and if possible: unambiguous bitwise operators and | ||
| 40 | reference aliasing. | ||
| 41 | |||
| 42 | The exact behavior of this module is subject to change. Consider it the "toy | ||
| 43 | inside" Task::BeLike::RJBS. | ||
| 44 | |||
| 45 | =head1 TASK CONTENTS | ||
| 46 | |||
| 47 | =head1 AUTHOR | ||
| 48 | |||
| 49 | Ricardo Signes <rjbs@semiotic.systems> | ||
| 50 | |||
| 51 | =head1 COPYRIGHT AND LICENSE | ||
| 52 | |||
| 53 | This software is copyright (c) 2021 by Ricardo Signes. | ||
| 54 | |||
| 55 | This is free software; you can redistribute it and/or modify it under | ||
| 56 | the same terms as the Perl 5 programming language system itself. | ||
| 57 | |||
| 58 | =cut |